FLATTEN

Turn nested arrays into a single 1 dimensional array

Syntax 

FLATTEN(array)