Version 1
[yaffs-website] / node_modules / grunt-legacy-log-utils / node_modules / lodash / over.js
diff --git a/node_modules/grunt-legacy-log-utils/node_modules/lodash/over.js b/node_modules/grunt-legacy-log-utils/node_modules/lodash/over.js
new file mode 100644 (file)
index 0000000..e2a8f45
--- /dev/null
@@ -0,0 +1,22 @@
+var arrayMap = require('./_arrayMap'),
+    createOver = require('./_createOver');
+
+/**
+ * Creates a function that invokes `iteratees` with the arguments provided
+ * to the created function and returns their results.
+ *
+ * @static
+ * @memberOf _
+ * @category Util
+ * @param {...(Function|Function[])} iteratees The iteratees to invoke.
+ * @returns {Function} Returns the new function.
+ * @example
+ *
+ * var func = _.over(Math.max, Math.min);
+ *
+ * func(1, 2, 3, 4);
+ * // => [4, 1]
+ */
+var over = createOver(arrayMap);
+
+module.exports = over;