Skip to main content

class UnfoldIterator<T>

undocumented

Extends: FastIteratorBase<T>

Type parameters

NameDescription
Tundocumented

Properties

current

undocumented

Definition

current: T | Token;

getNext

undocumented

Definition

readonly getNext: (current: T, index: number, stop: Token) => T | Token;

index

undocumented

Definition

index: number;

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