Interface IteratorResult<T>

A value produced by a generator

interface IteratorResult<T> {
    done: boolean;
    value?: T;
}

Type Parameters

Properties

Properties

done: boolean
value?: T