HH\Pair::skipWhile

Description

public function skipWhile(
  callable $fn,
): ImmVector<mixed>

Returns an ImmVector containing the values of the current Pair starting after and including the first value that produces true when passed to the specified callback.

Parameters

  • callable $fn - The callback used to determine the starting element for the ImmVector.

Return Values