| Applying science to business management |
  
group
Format: group( list, n )
Arguments: [any] list Input list of any type of
elements
(int) n Number of elements in each subgroup
Returns: [any] list broken down into sublists of
n elements each
Examples: group([1,2,3,4,5,6],2)
= [[1,2],[3,4],[5,6]]
See Also: flatten,
each, both
|