Skip to content

Latest commit

 

History

History
76 lines (43 loc) · 1.64 KB

README.md

File metadata and controls

76 lines (43 loc) · 1.64 KB

skip module

Type aliases

Functions

Type aliases

Skip

Ƭ Skip: function

Defined in index.ts:6

Skip function (creates slice of a stream)

Type declaration:

▸ (iterable: Iterable‹T›): IterableIterator‹T›

Parameters:

Name Type Description
iterable Iterable‹T› input stream

Functions

skip

skipT›(amount: number): Skip‹T›

Defined in index.ts:20

Function to created slice of a stream (substream) skips first N items from input stream and returns the rest

Type parameters:

T

Parameters:

Name Type Description
amount number number of items to skip

Returns: Skip‹T›

skip function to slice stream

skipT›(amount: number, iterable: Iterable‹T›): IterableIterator‹T›

Defined in index.ts:29

Function to created slice of a stream (substream) skips first N items from input stream and returns the rest

Type parameters:

T

Parameters:

Name Type Description
amount number number of items to skip
iterable Iterable‹T› input stream

Returns: IterableIterator‹T›

output sliced stream