HH\ImmSet::lastValue

Returns the last value in the current ImmSet

public function lastValue(): ?Tv;

This method is interchangeable with lastKey().

Return Values

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