HH\ImmVector::lastValue

Description

public function lastValue(): ?Tv

Returns the last value in the current ImmVector.

Return Values

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

Examples

See Vector::lastValue for usage examples.