HH\ImmMap::lastValue

Description

public function lastValue(): ?Tv

Returns the last value in the current ImmMap.

Return Values

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

Examples

See Map::lastValue for usage examples.