1.0.0 • Published 10 years ago
@f/over v1.0.0
over
Map a list of functions over a value
Installation
$ npm install @f/overUsage
var over = require('@f/over')
over(4, [isEven, isOdd]) // -> [true, false]API
over(value, fns)
value- The value you want to pass to each function infnsfns- An array of functions you want to call withvalueas their first argument.
Returns: An array of the return value of each fn(value).
License
MIT
1.0.0
10 years ago