starry.skip
v4.0.1
Published
Member of the starry suite—modular functions for iterable objects.
Maintainers
Readme
Member of the starry suite—modular functions for iterable objects.
Status
Applies to the whole suite.
Usage
function skip<T: any>(
iterable: Iterable<T>,
count: number = 1
): Iterable<T>Skips count number of elements from the iterable.
Parameters:
- iterable -
Iterable<T> - count -
number. Default:1
Returns: Iterable<T>
Throws:
TypeError- whencountis not a finite number.
