2026-05-31 13:54:31 +02: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