1 var createFind = require('./_createFind'),
2 findLastIndex = require('./findLastIndex');
5 * This method is like `_.find` except that it iterates over elements of
6 * `collection` from right to left.
11 * @category Collection
12 * @param {Array|Object} collection The collection to inspect.
13 * @param {Function} [predicate=_.identity] The function invoked per iteration.
14 * @param {number} [fromIndex=collection.length-1] The index to search from.
15 * @returns {*} Returns the matched element, else `undefined`.
18 * _.findLast([1, 2, 3, 4], function(n) {
23 var findLast = createFind(findLastIndex);
25 module.exports = findLast;