- findIndex<T>():
| Curried2<
(val: T, index?: number, arr?: T) => boolean,
T[],
undefined | number,
>
| Curried2<
(val: T, key?: string, obj?: Record<string, T>) => boolean,
Record<string, T>,
undefined | string,
> Returns
| Curried2<
(val: T, index?: number, arr?: T) => boolean,
T[],
undefined | number,
>
| Curried2<
(val: T, key?: string, obj?: Record<string, T>) => boolean,
Record<string, T>,
undefined | string,
>
- findIndex<T>(
fn: (val: T, index?: number, arr?: T) => boolean,
): Curried1<T[], undefined | number> Parameters
- fn: (val: T, index?: number, arr?: T) => boolean
Returns Curried1<T[], undefined | number>
- findIndex<T>(
fn: (val: T, key?: string, obj?: Record<string, T>) => boolean,
): Curried1<Record<string, T>, undefined | string> Parameters
- fn: (val: T, key?: string, obj?: Record<string, T>) => boolean
Returns Curried1<Record<string, T>, undefined | string>
- findIndex<T>(
fn: (val: T, index?: number, arr?: T) => boolean,
arr: T[],
): undefined | number Parameters
- fn: (val: T, index?: number, arr?: T) => boolean
- arr: T[]
Returns undefined | number
- findIndex<T>(
fn: (val: T, key?: string, obj?: Record<string, T>) => boolean,
obj: Record<string, T>,
): undefined | string Parameters
- fn: (val: T, key?: string, obj?: Record<string, T>) => boolean
- obj: Record<string, T>
Returns undefined | string
Curried
_findIndex