groupBy

open fun <K, V> groupBy(iterable: Iterable<out V>, grouper: Transformer<out K, V>): Map<K, Collection<V>>(source)