KotlinMapmapValues

Returns a new map with entries having the keys of this map and the values obtained by applying the transform function.

Syntax

map.mapValues { entry -> }