- Preparing search index...
- The search index is not available
atomic-fns
- findLastIndex<T>(arr: T[], fn: Iteratee<T, any, any>, start?: number): number
-
Parameters
-
arr: T[]
-
fn: Iteratee<T, any, any>
-
Optional
start: number
Returns number
- findLastIndex<T>(arr: T[], fn: Object, start?: number): number
-
Parameters
-
arr: T[]
-
fn: Object
-
Optional
start: number
Returns number
- findLastIndex<T>(arr: T[], fn: PropertyKey, start?: number): number
-
Parameters
-
arr: T[]
-
fn: PropertyKey
-
Optional
start: number
Returns number
This method is like findIndex except that it iterates the collection from right to left.
Returns
The index of the found value, else -1
Example
See