Returns a generator that drops elements from the iterable as long as the predicate is true; afterwards, returns every remaining element. Note, the generator does not produce any output until the predicate first becomes false.
Returns
Elements
Type Parameters
T
Parameters
iterable: Iterable<T>
The iterable to inspect.
predicate: Predicate<T, any>
A function invoked per element to check if it should be dropped.
Returns a generator that drops elements from the iterable as long as the predicate is
true
; afterwards, returns every remaining element. Note, the generator does not produce any output until the predicate first becomesfalse
.Returns
Elements