HH\ImmVector::firstKey

Description

public function firstKey(): ?int

Returns the first key in the current ImmVector.

Return Values

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

Examples

See Vector::firstKey for usage examples.