HH\Vector::firstKey

Returns the first key in the current Vector

public function firstKey(): ?int;

Return Values

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