4.0.1 • Published 7 years ago

starry.skip v4.0.1

Weekly downloads
14
License
MIT
Repository
github
Last release
7 years ago

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