Flatten nested array to given depth.
a nested array
maximum depth [-1 ⇒ all]
map function (v, i, x)
flatten test function (v, i, x) [is]
flat iterable
Generated using TypeDoc
Flatten nested array to given depth.