createHashMapFromArray

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 Development Branch version 2.012.01DEV BRANCH ONLY ⚠
Hover & click on the images for descriptions

Description

Description:
Creates a new HashMap and initializes it from a key-value pair array

Syntax

Syntax:
createHashMapFromArray [[key1, value1], [key2, value2]]
Parameters:
key: HashMapKey
value: Anything
Return Value:
HashMap

Examples

Example 1:
createHashMapFromArray [["a",1], ["b",2], ["c",3]];
Example 2:

Additional Information

See also:
HashMap
Groups:
HashMap

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.