UNPKG

@codeparticle/formal

Version:

A <2kb library for validating data of any kind

10 lines (8 loc) 222 B
/** * Pipe a set of functions over an argument, starting at the leftmost argument * * @author Nick Krause * @license MIT */ declare const pipe: <T = any>(...fns: ((v: T) => any)[]) => (x: T) => any; export { pipe };