Flatten a collection of vectors to a single array.
Array of vectors
Single array with all values
flatten([ [1, 2], [3, 4], [5, 6] ]); // Returns [1, 2, 3, 4, 5, 6] Copy
flatten([ [1, 2], [3, 4], [5, 6] ]); // Returns [1, 2, 3, 4, 5, 6]
Generated using TypeDoc
Flatten a collection of vectors to a single array.