Array find from last
Less than 1 minute
Array find from last
Types
interface Array<T> {
findLast(callbackfn: (value: T, index: number, target: Array<T>) => boolean, thisArg?: any): T;
findLastIndex(callbackfn: (value: T, index: number, target: Array<T>) => boolean, thisArg?: any): number;
}
interface TypedArray {
findLast(callbackfn: (value: any, index: number, target: ) => boolean, thisArg?: any): any;
findLastIndex(callbackfn: (value: any, index: number, target: ) => boolean, thisArg?: any): number;
}
Entry points
core-js/proposals/array-find-from-last