HH\ImmSet::firstValue

Returns the first value in the current ImmSet

public function firstValue(): ?Tv;

This method is interchangeable with firstKey().

Return Values

  • ?Tv - The first value in the current ImmSet, or null if the current ImmSet is empty.