karelpeeters
07/29/2017, 9:37 AMgroupBy returns a map and mapValues operates on the entries of that map.
See https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/group-by.html and https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/map-values.html.