HH\ImmMap::lastKey

Returns the last key in the current ImmMap

public function lastKey(): ?Tk;

Returns

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

Examples

See [Map::lastKey](</hack/reference/class/Map/lastKey/#examples>) for usage examples.