flatten
Jump to navigation
Jump to search
Description
- Description:
- Flattens an array.
- Groups:
- Arrays
Syntax
Examples
- Example 1:
flatten [ 1, [2], [[3]], [[[4]]] ];// Returns [1, 2, 3, 4]
- Example 2:
flatten getUnitLoadout player;
Additional Information
- See also:
- arrayIntersect
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
[[Category:Introduced with arma3dev version 2.01]][[ Category: arma3dev: New Scripting Commands | FLATTEN]][[ Category: arma3dev: Scripting Commands | FLATTEN]]