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, ornullif the currentImmVectoris empty.
Examples
See [Vector::lastKey](</hack/reference/class/Vector/lastKey/#examples>) for usage examples.