@codeparticle/formal
Version:
A <2kb library for validating data of any kind
13 lines (10 loc) • 350 B
JavaScript
;Object.defineProperty(exports, "__esModule", {value: true});// src/utils/pipe.ts
var pipe = (...fns) => (x) => fns.reduce((v, f) => f(v), x);
exports.pipe = pipe;
/**
* Pipe a set of functions over an argument, starting at the leftmost argument
*
* @author Nick Krause
* @license MIT
*/
//# sourceMappingURL=chunk-NR36ITW6.js.map