groupvalues

.groupvalues from:{Iterable<Any>} -> Iterable<Iterable<Any>>

Groups a collection by their value.

Return

a collection of collections, each containing the elements that are equal to each other

Parameters

from

collection to group