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