summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/lodash.union/node_modules/lodash._arrayincludeswith/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/lodash.union/node_modules/lodash._arrayincludeswith/index.js')
-rw-r--r--deps/npm/node_modules/lodash.union/node_modules/lodash._arrayincludeswith/index.js32
1 files changed, 0 insertions, 32 deletions
diff --git a/deps/npm/node_modules/lodash.union/node_modules/lodash._arrayincludeswith/index.js b/deps/npm/node_modules/lodash.union/node_modules/lodash._arrayincludeswith/index.js
deleted file mode 100644
index b4416d7f0e..0000000000
--- a/deps/npm/node_modules/lodash.union/node_modules/lodash._arrayincludeswith/index.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * lodash 4.0.0 (Custom Build) <https://lodash.com/>
- * Build: `lodash modularize exports="npm" -o ./`
- * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
- * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- * Available under MIT license <https://lodash.com/license>
- */
-
-/**
- * A specialized version of `_.includesWith` for arrays without support for
- * specifying an index to search from.
- *
- * @private
- * @param {Array} array The array to search.
- * @param {*} target The value to search for.
- * @param {Function} comparator The comparator invoked per element.
- * @returns {boolean} Returns `true` if `target` is found, else `false`.
- */
-function arrayIncludesWith(array, value, comparator) {
- var index = -1,
- length = array.length;
-
- while (++index < length) {
- if (comparator(value, array[index])) {
- return true;
- }
- }
- return false;
-}
-
-module.exports = arrayIncludesWith;