| var createFind = require('./_createFind'), |
| findLastIndex = require('./findLastIndex'); |
| * This method is like `_.find` except that it iterates over elements of |
| * `collection` from right to left. |
| * @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`. |
| * _.findLast([1, 2, 3, 4], function(n) { |
| var findLast = createFind(findLastIndex); |
| module.exports = findLast; |