Method Array.flatten()


Method flatten

array flatten(array a, mapping(array:array)|void state)

Description

Flatten a multi-dimensional array to a one-dimensional array.

Note

Prior to Pike 7.5.7 it was not safe to call this function with cyclic data-structures.