Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 975 Bytes

polyethylene.polyasynciterable.dropwhile.md

File metadata and controls

26 lines (15 loc) · 975 Bytes

Home > polyethylene > PolyAsyncIterable > dropWhile

PolyAsyncIterable.dropWhile() method

Return a new iteration that skips the first few elements for which func(element) returns true.

Signature:

dropWhile(func: AsyncIndexedPredicate<T>): PolyAsyncIterable<T>;

Parameters

Parameter Type Description
func AsyncIndexedPredicate<T> The function to call on the elements

Returns:

PolyAsyncIterable<T>

a new PolyAsyncIterable that yields the same the elements of this, excepts the first few for whichfunc(element) returns true