Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
Array

Method Array.flatten()


Method flatten

array 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.