HH\Pair::skipWhile

Description

public function skipWhile(
  (function(mixed):bool) $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

  • (function(mixed):bool) $fn - The callback used to determine the starting element for the ImmVector.

Return Values