Skip to main content

class TakeIterator<T>

undocumented

Extends: FastIteratorBase<T>

Type parameters

NameDescription
Tundocumented

Properties

amount

undocumented

Definition

readonly amount: number;

i

undocumented

Definition

i: number;

source

undocumented

Definition

readonly source: FastIterator<T>;

Methods

fastNext

undocumented

Definition

fastNext<O>(otherwise?: OptLazy<O>): T | O;

Type parameters

NameDescription
O

Parameters

NameTypeDescription
otherwiseOptLazy<O>

Overrides

FastIteratorBase.fastNext

next

Returns the next IteratorResult.

Definition

next(): IteratorResult<T>;

Overrides

FastIterator.next, FastIteratorBase.next