HH\ImmMap::firstValue

Returns the first value in the current ImmMap

public function firstValue(): ?Tv;

Returns

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

Examples

See Map::firstValue for usage examples.