@thi.ng/transducers
Version:
Collection of ~170 lightweight, composable transducers, reducers, generators, iterators for functional data transformations
11 lines • 393 B
TypeScript
import type { Transducer, TransformSpec } from "./api.js";
/**
* Transducer. Same as `map(deepTransform(spec))`
*
* See {@link deepTransform} for details.
*
* @param spec -
*/
export declare function mapDeep(spec: TransformSpec): Transducer<any, any>;
export declare function mapDeep(spec: TransformSpec, src: Iterable<any>): IterableIterator<any>;
//# sourceMappingURL=map-deep.d.ts.map