MapBy<V> extension

on

Methods

mapBy<K>(Func1<V, K> getKey) Map<K, V>
Creates map from current iterable. Keys of the map are created by applying getKey function to the corresponding item of the list.