HH\Pair::skipWhile

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

public function skipWhile(
  (function(mixed): bool) $callback,
): ImmVector<mixed>;

Parameters

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

Returns