@bodil/monkey-business
    Preparing search index...

    Interface IteratorConstructor

    Added methods on the Iterator global object.

    interface IteratorConstructor {
        new IteratorConstructor<T, TResult = undefined, TNext = unknown>(): Iterator<
            T,
            TResult,
            TNext,
        >;
        prototype: Iterator<any, any, any>;
        concat<T>(...inputs: Iterable<T, any, any>[]): IteratorObject<T>;
        empty<T>(): IteratorObject<T>;
        zip<T>(inputs: Iterable<Iterable<T, any, any>>): IteratorObject<T[]>;
        zipKeyed<T>(
            inputs: Record<string, Iterable<T>>,
        ): IteratorObject<Record<string, T>>;
    }

    Hierarchy

    • IteratorObjectConstructor
      • IteratorConstructor

    Constructors

    Properties

    prototype: Iterator<any, any, any>

    Methods