in_groups_of
Converts an array into array of subarrays. Each subarray is going to have n elements.
As a result in_groups
variable contains following array: [[1,2], [3,4], [5,6], [7,8], [9]]
Last updated
Converts an array into array of subarrays. Each subarray is going to have n elements.
As a result in_groups
variable contains following array: [[1,2], [3,4], [5,6], [7,8], [9]]
Last updated