mapKeys
mapKeys(
f): <A>(data) =>Readonly<Record<string,A>>
Defined in: Utils/Rec.ts:241
Transforms each key while preserving values. If two keys map to the same new key, the last one wins.
Parameters
Section titled “Parameters”(key) => string
Returns
Section titled “Returns”<
A>(data):Readonly<Record<string,A>>
Type Parameters
Section titled “Type Parameters”A
Parameters
Section titled “Parameters”Readonly<Record<string, A>>
Returns
Section titled “Returns”Readonly<Record<string, A>>