MCPcopy Create free account
hub / github.com/SimonBuxx/LogiJS / flatten

Function flatten

libraries/p5.js:43360–43368  ·  view source on GitHub ↗

* turn a two dimensional array into one dimensional array * @param {Array} arr 2-dimensional array * @return {Array} 1-dimensional array * [[1, 2, 3],[4, 5, 6]] -> [1, 2, 3, 4, 5, 6]

(arr)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

p5.jsFile · 0.70
vToNArrayFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected