MapKeysAndValyesOnMapExtension<K1, V1> extension

on

Methods

mapKeys<K2>(K2 mapper(K1 key)) Map<K2, V1>
Returns a new map with new keys and the same values.
mapValues<V2>(V2 mapper(V1 value)) Map<K1, V2>
Returns a new map with the same keys and new values.