Skip to main content

class PrependIterator<T>

undocumented

Extends: FastIteratorBase<T>

Type parameters

NameDescription
Tundocumented

Properties

item

undocumented

Definition

readonly item: OptLazy<T>;

prependDone

undocumented

Definition

prependDone: boolean;

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