HH\ImmVector::firstValue

Description

public function firstValue(): ?Tv

Returns the first value in the current ImmVector.

Return Values

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

Examples

See Vector::firstValue for usage examples.