last module

Type aliases

Functions

Type aliases

Last

Ƭ Last: function

Defined in index.ts:6

Last function (creates slice of a stream)

Type declaration:

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

Parameters:

Name Type Description
iterable Iterable‹T› input stream

Functions

last

lastT›(amount: number): Last‹T›

Defined in index.ts:20

Function to create slice of a stream (substream) takes last N items from input stream

Type parameters:

T

Parameters:

Name Type Description
amount number number of items to take

Returns: Last‹T›

last function to slice stream

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

Defined in index.ts:29

Function to created slice of a stream (substream) takes last N items from input stream

Type parameters:

T

Parameters:

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

Returns: IterableIterator‹T›

output sliced stream

results matching ""

    No results matching ""