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

Description

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

Parameters

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

Return Values