mapWithKey
mapWithKey<
A,B>(f): (data) =>Readonly<Record<string,B>>
Defined in: Core/Rec.ts:44
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>>
Parameters
Section titled “Parameters”Readonly<Record<string, A>>
Returns
Section titled “Returns”Readonly<Record<string, B>>