UNPKG

lazzy.ts

Version:

Fast and lightweight library for lazy operations with iterable objects.

3 lines 336 B
export declare function toWeakMap<T, R, N, K extends object, V>(iterator: Iterator<T, R, N>, select: (value: T) => [K, V]): WeakMap<K, V>; export declare function toWeakMapAsync<T, R, N, K extends object, V>(iterator: AsyncIterator<T, R, N>, select: (value: T) => [K, V]): Promise<WeakMap<K, V>>; //# sourceMappingURL=toWeakMap.d.ts.map