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