UNPKG

@codeparticle/formal

Version:

A <2kb library for validating data of any kind

13 lines (12 loc) 274 B
// src/utils/pipe.ts var pipe = (...fns) => (x) => fns.reduce((v, f) => f(v), x); export { pipe }; /** * Pipe a set of functions over an argument, starting at the leftmost argument * * @author Nick Krause * @license MIT */ //# sourceMappingURL=chunk-23TKAL5Y.mjs.map