HH\Iterable::lastValue

Returns the last value in the current Iterable

Description

public function lastValue(): ?Tv

Return Values

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