5 lines
445 B
TypeScript
5 lines
445 B
TypeScript
export function mapIterator<T, R>(iterator: Iterator<T>, f: (arg0: T) => R): IterableIterator<R>;
|
|
export function createIterator<T>(next: () => IteratorResult<T>): IterableIterator<T>;
|
|
export function iteratorFilter<T>(iterator: Iterator<T>, filter: (arg0: T) => boolean): IterableIterator<T>;
|
|
export function iteratorMap<T, M>(iterator: Iterator<T>, fmap: (arg0: T) => M): IterableIterator<M | undefined>;
|
|
//# sourceMappingURL=iterator.d.ts.map
|