Skip to main content

class MapIterator<T,T2>

undocumented

Extends: FastIteratorBase<T>

Type parameters

NameDescription
Tundocumented
T2undocumented

Properties

mapFun

undocumented

Definition

readonly mapFun: (value: T, index: number) => T2;

source

undocumented

Definition

readonly source: FastIterator<T>;

state

undocumented

Definition

readonly state: TraverseState;

Methods

fastNext

undocumented

Definition

fastNext<O>(otherwise?: OptLazy<O>): T2 | 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