Skip to content

miva_array_collapse()#

Syntax
miva_array_collapse( aggregate var )

Returns#

Removes null/empty elements from the array and reindexes it. Returns the number of remaining elements.

Parameters#

Parameter Description
aggregate The array to collapse, modified in place.