1 | declare function arrayFindIndex<T>(arr: T[], predicate: (element: T, index: number, array: T[]) => boolean): number;
|
2 | declare function arrayFindIndex<T, U>(
|
3 | arr: T[],
|
4 | predicate: (this: U, element: T, index: number, array: T[]) => boolean,
|
5 | ctx: U,
|
6 | ): number;
|
7 | export = arrayFindIndex;
|