diff options
Diffstat (limited to 'alarm/node_modules/lodash/_baseEvery.js')
-rw-r--r-- | alarm/node_modules/lodash/_baseEvery.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/alarm/node_modules/lodash/_baseEvery.js b/alarm/node_modules/lodash/_baseEvery.js deleted file mode 100644 index fa52f7b..0000000 --- a/alarm/node_modules/lodash/_baseEvery.js +++ /dev/null @@ -1,21 +0,0 @@ -var baseEach = require('./_baseEach'); - -/** - * The base implementation of `_.every` 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 all elements pass the predicate check, - * else `false` - */ -function baseEvery(collection, predicate) { - var result = true; - baseEach(collection, function(value, index, collection) { - result = !!predicate(value, index, collection); - return result; - }); - return result; -} - -module.exports = baseEvery; |