Array.unzip()
Array.unzip(OtherArray)
Reverse of Array.zip()
Split alternate elements into separate array.
1..10.unzip()
1 | 3 | 5 | 7 | 9 |
2 | 4 | 6 | 8 | 10 |
Reverse of Array.zip()
Split alternate elements into separate array.
1..10.unzip()
1 | 3 | 5 | 7 | 9 |
2 | 4 | 6 | 8 | 10 |