GROUPBY


lists
Since v1.2.22
Available on all platforms

The GROUPBY function groups the elements of a list according to the value returned by a macro.

Signature

Examples

// Create 10 numbers [] 1 10 <% +! %> FOR // Group according to evenness <% 2 % %> GROUPBY