HH\Vector::lastKey

Returns the last key in the current Vector

public function lastKey(): ?int;

Return Values

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