flatten()
Create a flattened copy of an array.
This function is valid in v2.1.0 to v2.24.3. This function has been downloaded 60 times.1
true
or Infinity
there will be no limit to the recursiveness of the flattening. Otherwise, if given, this should be a number indicated how many levels down this array should be flattened.array
up to the given opt_depth
.This function directly requires the following function which is included automatically:
typeOf()