Flatten nested arrays into a single-level array
[[1, 2], [3, 4], [5, 6]]
.input
.output
will be [1, 2, 3, 4, 5, 6]
.Does the Flatten Block work with objects?
How deep does the flattening go?
[[1, [2, 3]], [4, 5]]
becomes [1, [2, 3], 4, 5]
. To flatten deeper levels, chain multiple Flatten blocks together.