HH\ImmMap::firstValue

Description

public function firstValue(): ?Tv

Returns the first value in the current ImmMap.

Return Values

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

Examples

See Map::firstValue for usage examples.