Interface SegmentIterator<T>

Describes an Iterator produced by the runtime that inherits from the intrinsic Iterator.prototype.

interface SegmentIterator<T> {
    "[iterator]"(): SegmentIterator<T>;
    next(...__namedParameters: [] | [unknown]): IteratorResult<T, any>;
    return(value?: any): IteratorResult<T, any>;
    throw(e?: any): IteratorResult<T, any>;
}

Type Parameters

  • T
Hierarchy

Methods