HH\Iterable::lastValue

Description

public function lastValue(): ?Tv

Returns the last value in the current Iterable.

Return Values

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