Takes an array and flattens it, returning a shallow-copy flattened array.
name | type | arguments | description |
---|---|---|---|
array | array |
The array to flatten. |
|
output | array | <optional> |
An array to hold the results in. |
The flattened output array.