🔨 Simple helper for composition. Similar to pipe
from RxJS.
- ✅ Create one function which make pipeline of passed functions
const fn = pipe(
(v) => v + 1,
(v) => v * 10
);
console.assert(fn(2), 30); // true
npm test
The MIT License @ 2018
🔨 Simple helper for composition. Similar to pipe
from RxJS.
const fn = pipe(
(v) => v + 1,
(v) => v * 10
);
console.assert(fn(2), 30); // true
npm test
The MIT License @ 2018