mapWithKey
mapWithKey<
A,B>(f): (data) =>Readonly<Record<string,B>>
Defined in: Data/Rec.ts:64
Transforms each value in a record, also receiving the key.
Type Parameters
Section titled “Type Parameters”A
B
Parameters
Section titled “Parameters”(key, a) => B
Returns
Section titled “Returns”(data) => Readonly<Record<string, B>>