Interface MapIterator<T>

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

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

    Type Parameters

    • T
    Hierarchy

    Methods