IterableGroupBy<E> extension
- on
-
- Iterable<
E>
- Iterable<
Methods
-
groupBy<
K> (K keySelector(E element)) → Map< K, List< E> > -
Available on Iterable<
Groups elements of the original collection by the key returned by the givenE> , provided by the IterableGroupBy extensionkeySelector
function applied to each element and returns a map.