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