HH\ImmVector::lastKey

Description

public function lastKey(): ?int

Returns the last key in the current ImmVector.

Return Values

  • ?int - The last key (an integer) in the current ImmVector, or null if the current ImmVector is empty.

Examples

See Vector::lastKey for usage examples.