UNPKG

lazzy.ts

Version:

Fast and lightweight library for lazy operations with iterable objects.

3 lines 286 B
export declare function toMap<T, R, N, K, V>(iterator: Iterator<T, R, N>, select: (value: T) => [K, V]): Map<K, V>; export declare function toMapAsync<T, R, N, K, V>(iterator: AsyncIterator<T, R, N>, select: (value: T) => [K, V]): Promise<Map<K, V>>; //# sourceMappingURL=toMap.d.ts.map