Flatten nested arrays into a flat array

Parameters

value Array (required) - Array to flatten

Returns

Array

Examples

FLATTEN([[1, 2, 3]])

// returns [1,2,3]
FLATTEN([[1, 2, 3], [4, 5, 6]])

// returns [1,2,3,4,5,6]