UNPKG

@mobily/ts-belt

Version:

🔧 Fast, modern, and practical utility library for FP in TypeScript.

11 lines (10 loc) • 158 B
function pipe() { let x = arguments[0]; for (let i = 1, l = arguments.length; i < l; i++) { x = arguments[i](x); } return x; } export { pipe };