e2a8f45f5cd0301d9d0f5f16f4e46fbcabbf317e
[yaffs-website] / node_modules / grunt-legacy-util / node_modules / lodash / over.js
1 var arrayMap = require('./_arrayMap'),
2     createOver = require('./_createOver');
3
4 /**
5  * Creates a function that invokes `iteratees` with the arguments provided
6  * to the created function and returns their results.
7  *
8  * @static
9  * @memberOf _
10  * @category Util
11  * @param {...(Function|Function[])} iteratees The iteratees to invoke.
12  * @returns {Function} Returns the new function.
13  * @example
14  *
15  * var func = _.over(Math.max, Math.min);
16  *
17  * func(1, 2, 3, 4);
18  * // => [4, 1]
19  */
20 var over = createOver(arrayMap);
21
22 module.exports = over;