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

Chaining

This function is designed to be chained with other function calls:
Iterable<Any>::groupvalues -> Iterable<Iterable<Any>>