@thi.ng/transducers
Version:
Collection of ~170 lightweight, composable transducers, reducers, generators, iterators for functional data transformations
8 lines • 323 B
TypeScript
import type { Transducer } from "./api.js";
/**
* No-op / pass-through transducer, essentially the same as: `map((x) => x)`,
* but faster. Useful for testing and / or to keep existing values in a
* {@link multiplex} tuple lane.
*/
export declare const noop: <T>() => Transducer<T, T>;
//# sourceMappingURL=noop.d.ts.map