HH\ImmVector::firstKey
Returns the first key in the current ImmVector
public function firstKey(): ?int;
Returns
?int- The first key (an integer) in the currentImmVector, ornullif the currentImmVectoris empty.
Examples
See [Vector::firstKey](</hack/reference/class/Vector/firstKey/#examples>) for usage examples.