2025-03-24 22:56:10 +01:00

3 lines
163 B
JavaScript

const combineFunctions = (a, b) => (v) => b(a(v));
export const pipe = (...transformers) => transformers.reduce(combineFunctions);
//# sourceMappingURL=pipe.js.map