ixfx
    Preparing search index...

    Function dropWhile

    Drops elements that do not meet the predicate f. Streaming result: works with endless iterables.

    dropWhile([1, 2, 3, 4], e => e < 3);
    returns [3, 4]
    • Type Parameters

      • V

      Parameters

      • it: AsyncIterable<V>
      • f: (v: V) => boolean

      Returns AsyncGenerator<V>

    • Type Parameters

      • V

      Parameters

      • it: Iterable<V>
      • f: (v: V) => boolean

      Returns Generator<V>