filter-pipe
Pass a value through synchronous filter functions
Install
$ npm install --save filter-pipe
Usage
var filter = var submitValid = //=> submit not called { return valuenamelength > 1} { }
API
filter(functions...)
-> function
functions
Required
Type: function
/ array[function]
A set of functions to use to filter the value. At least one is required. You can pass the functions as arguments or pass a single array of functions.
License
MIT © Ben Drucker