- mapKey<R, S, T>(subject, predicate, thisArg?): R[]
Type Parameters
- R
- S extends Record<string | number | symbol, any>
- T = any
Parameters
- subject: S
- predicate: ((this: T, key: keyof S, index: number, obj: (keyof S)[], subject: S) => R)
- (this, key, index, obj, subject): R
Parameters
- this: T
- key: keyof S
- index: number
- obj: (keyof S)[]
- subject: S
Returns R
Optional
thisArg: T
Returns R[]