mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
Add related function for each module. [closes #2932]
This commit is contained in:
committed by
John-David Dalton
parent
b856263af6
commit
401016d260
@@ -11,6 +11,7 @@ import findLastIndex from './findLastIndex.js';
|
||||
* @param {Function} predicate The function invoked per iteration.
|
||||
* @param {number} [fromIndex=collection.length-1] The index to search from.
|
||||
* @returns {*} Returns the matched element, else `undefined`.
|
||||
* @see find, findIndex, findKey, findLastIndex, findLastKey
|
||||
* @example
|
||||
*
|
||||
* findLast([1, 2, 3, 4], n => n % 2 == 1);
|
||||
|
||||
Reference in New Issue
Block a user