Flattener
Last updated
Last updated
[data/array/Flattener]
Flattens a 2D array into a 1 D array with. Example:
[[1,2], [3,4]]@0 recieved via 2D array
[1,2,3,4]@0 sent via array
Keywords: reduce
2D array: any[][]
Recieves 2D arrays to be flattened. Example: [[1,2], [3,4]]
array: any[][][number][number][]
Sends flattened array. Example: [1,2,3,4]