lazzy.ts
Version:
Fast and lightweight library for lazy operations with iterable objects.
4 lines • 351 B
TypeScript
import { PromiseValue } from "../common";
export declare function at<T, R, N>(iterator: Iterator<T, R, N>, index: number): Generator<T | undefined, void, undefined>;
export declare function atAsync<T, R, N>(iterator: AsyncIterator<T, R, N>, index: number): AsyncGenerator<PromiseValue<T> | undefined, void, undefined>;
//# sourceMappingURL=at.d.ts.map