Array Flatten

Flatten a multi-dimensional array into a single level array. Optionally specify depth.

Parameters
Array
Depth