- map<T1, T2>(): Curried2<((val, index?, arr?) => T2), T1[], T2[]> | Curried2<((val, key?, obj?) => T2), Record<string, T1>, Record<string, T2>>
Returns Curried2<((val, index?, arr?) => T2), T1[], T2[]> | Curried2<((val, key?, obj?) => T2), Record<string, T1>, Record<string, T2>>
- map<T1, T2>(fn): Curried1<T1[], T2[]>
Parameters
- fn: ((val, index?, arr?) => T2)
- (val, index?, arr?): T2
Parameters
- val: T1
Optional
index: numberOptional
arr: T1[]
Returns T2
- map<T1, T2>(fn): Curried1<Record<string, T1>, Record<string, T2>>
Parameters
- fn: ((val, key?, obj?) => T2)
- (val, key?, obj?): T2
Parameters
- val: T1
Optional
key: stringOptional
obj: Record<string, T1>
Returns T2
Returns Curried1<Record<string, T1>, Record<string, T2>>
- map<T1, T2>(fn, arr): T2[]
Parameters
- fn: ((val, index?, arr?) => T2)
- (val, index?, arr?): T2
Parameters
- val: T1
Optional
index: numberOptional
arr: T1[]
Returns T2
- arr: T1[]
Returns T2[]
- map<T1, T2>(fn, obj): Record<string, T2>
Parameters
- fn: ((val, key?, obj?) => T2)
- (val, key?, obj?): T2
Parameters
- val: T1
Optional
key: stringOptional
obj: Record<string, T1>
Returns T2
- obj: Record<string, T1>
Returns Record<string, T2>
Curried
_map