Omits the first elements of an Iterable until a Predicate returns false.
false
const dropWhileLessThan3 = dropWhile(x => x < 3);const iterable = dropWhileLessThan3([1,3,2,4]);console.log(iterable); // [3,2,4]
limit, skip and takeWhile for similar operations.
an Iterable that does not emit values until the given Predicate returns false
the Iterable value type
Generated using TypeDoc
Omits the first elements of an Iterable until a Predicate returns
false.Example
See
limit, skip and takeWhile for similar operations.
Returns
an Iterable that does not emit values until the given Predicate returns
false