diff options
Diffstat (limited to 'alarm/node_modules/lodash/findLast.js')
-rw-r--r-- | alarm/node_modules/lodash/findLast.js | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/alarm/node_modules/lodash/findLast.js b/alarm/node_modules/lodash/findLast.js deleted file mode 100644 index 70b4271..0000000 --- a/alarm/node_modules/lodash/findLast.js +++ /dev/null @@ -1,25 +0,0 @@ -var createFind = require('./_createFind'), - findLastIndex = require('./findLastIndex'); - -/** - * This method is like `_.find` except that it iterates over elements of - * `collection` from right to left. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Collection - * @param {Array|Object} collection The collection to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param {number} [fromIndex=collection.length-1] The index to search from. - * @returns {*} Returns the matched element, else `undefined`. - * @example - * - * _.findLast([1, 2, 3, 4], function(n) { - * return n % 2 == 1; - * }); - * // => 3 - */ -var findLast = createFind(findLastIndex); - -module.exports = findLast; |