HH\Iterable::firstValue

Description

public function firstValue(): ?Tv

Returns the first value in the current Iterable.

Return Values

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