source: imaps-frontend/node_modules/lodash-es/over.js

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 556 bytes
Line 
1import arrayMap from './_arrayMap.js';
2import createOver from './_createOver.js';
3
4/**
5 * Creates a function that invokes `iteratees` with the arguments it receives
6 * and returns their results.
7 *
8 * @static
9 * @memberOf _
10 * @since 4.0.0
11 * @category Util
12 * @param {...(Function|Function[])} [iteratees=[_.identity]]
13 * The iteratees to invoke.
14 * @returns {Function} Returns the new function.
15 * @example
16 *
17 * var func = _.over([Math.max, Math.min]);
18 *
19 * func(1, 2, 3, 4);
20 * // => [4, 1]
21 */
22var over = createOver(arrayMap);
23
24export default over;
Note: See TracBrowser for help on using the repository browser.