UNPKG

@extra-iterable/map

Version:

Updates values based on map function.

11 lines (10 loc) 318 B
declare module "@extra-iterable/map" { import type { mapFn } from "./_types"; /** * Updates values based on map function. * @param x an iterable * @param fm map function (v, i, x) */ declare function map<T, U>(x: Iterable<T>, fm: mapFn<T, U>): IterableIterator<U>; export = map; //# sourceMappingURL=map.d.ts.map}