HH\ImmMap::firstValue

Returns the first value in the current ImmMap

Description

public function firstValue(): ?Tv

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.