diff options
Diffstat (limited to 'alarm/node_modules/lodash/_baseSome.js')
-rw-r--r-- | alarm/node_modules/lodash/_baseSome.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/alarm/node_modules/lodash/_baseSome.js b/alarm/node_modules/lodash/_baseSome.js deleted file mode 100644 index 58f3f44..0000000 --- a/alarm/node_modules/lodash/_baseSome.js +++ /dev/null @@ -1,22 +0,0 @@ -var baseEach = require('./_baseEach'); - -/** - * The base implementation of `_.some` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if any element passes the predicate check, - * else `false`. - */ -function baseSome(collection, predicate) { - var result; - - baseEach(collection, function(value, index, collection) { - result = predicate(value, index, collection); - return !result; - }); - return !!result; -} - -module.exports = baseSome; |