starry.skip

4.0.1 • Public • Published

Member of the starry suite—modular functions for iterable objects.

npm node

Status

Applies to the whole suite.

Build Status Coverage Status

Usage

function skip<Tany>(
  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 - when count is not a finite number.

Package Sidebar

Install

npm i starry.skip

Weekly Downloads

0

Version

4.0.1

License

MIT

Unpacked Size

14 kB

Total Files

13

Last publish

Collaborators

  • seangenabe