UNPKG

498 BTypeScriptView Raw
1export function mapIterator<T, R>(iterator: Iterator<T, any, undefined>, f: (arg0: T) => R): IterableIterator<R>;
2export function createIterator<T>(next: () => IteratorResult<T, any>): IterableIterator<T>;
3export function iteratorFilter<T>(iterator: Iterator<T, any, undefined>, filter: (arg0: T) => boolean): IterableIterator<T>;
4export function iteratorMap<T, M>(iterator: Iterator<T, any, undefined>, fmap: (arg0: T) => M): IterableIterator<M | undefined>;
5//# sourceMappingURL=iterator.d.ts.map
\No newline at end of file