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
, ornull
if the currentImmVector
is empty.
Examples
See [Vector::firstKey
](</hack/reference/class/Vector/firstKey/#examples>) for usage examples.