mapKtx<K, V> extension

on

Methods

mapToList<R>(R transform(K, V)) List<R>
Returns a list containing the results of applying the given transform function to each entry in the original map.
mapToListTo<R>(List<R> destination, R transform(K, V)) List<R>
Applies the given transform function to each entry of the original map and appends the results to the given destination.