UNPKG

lazzy.ts

Version:

Fast and lightweight library for lazy operations with iterable objects.

3 lines 315 B
export declare function reduce<T, R, N, V>(iterator: Iterator<T, R, N>, reducer: (value: T, accumulator: V) => V, initial: V): V; export declare function reduceAsync<T, R, N, V>(iterator: AsyncIterator<T, R, N>, reducer: (value: T, accumulator: V) => V, initial: V): Promise<V>; //# sourceMappingURL=reduce.d.ts.map