createHashMapFromArray
Jump to navigation
Jump to search
Description
- Description:
- Creates a new HashMap and initializes it from a key-value pair array
- Groups:
- Uncategorised
Syntax
- Syntax:
- Syntax needed
- Parameters:
- key: HashMapKey
- value: Anything
- Return Value:
- Return value needed
Examples
- Example 1:
createHashMapFromArray [["a",1], ["b",2], ["c",3]];
- Example 2:
Additional Information
- See also:
- HashMap
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 HashMap]][[ Category: arma3dev: New Scripting Commands | CREATEHASHMAPFROMARRAY]][[ Category: arma3dev: Scripting Commands | CREATEHASHMAPFROMARRAY]]