mapValue

@NotNull
@Unmodifiable
open fun <K, V, R> mapValue(@NotNull original: @NotNull Map<K, V>, @NotNull mapper: @NotNull (V) -> R): @NotNull @Unmodifiable Map<K, R>

Map some map's value.

Return

unmodifiable map

Parameters

original

original map

mapper

value mapper

<K>

key

<V>

value

<R>

new value