Interface ArrayIterator<T>

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

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

    Type Parameters

    • T
    Hierarchy

    Methods