- drop(amount: number | bigint): (<Iterable>(iterable: Iterable) => GeneratorOutput<Iterable>)
-
Returns (<Iterable>(iterable: Iterable) => GeneratorOutput<Iterable>)
-
- <Iterable>(iterable: Iterable): GeneratorOutput<Iterable>
-
Type Parameters
-
Iterable extends AsynchronousIterable<unknown>
Drop the specified amount of items from the given iterable or asynchronous iterable.
Example
Returns
Curried function with
amount
in context.