Transforms the Map with replacing keys. If there duplicate keys on replaced, the last one will take precedence.
Map
Function to transform keys.
A new Map with new keys.
Transforms the
Mapwith replacing keys. If there duplicate keys on replaced, the last one will take precedence.