From Bohemia Interactive Community
Hover & click on the images for description
Description
- Description:
- Creates a new HashMap and initializes it from a key-value pair array
- Groups:
- HashMap
Syntax
- Syntax:
- keys createHashMapFromArray values Template:Since
- Parameters:
- keys: Array - Array of HashMapKeys
- values: Array - Array of anything
- Return Value:
- HashMap
Examples
- Example 1:
createHashMapFromArray [["a",1], ["b",2], ["c",3]];
- Example 2:
[1,2,3,4] createHashMapFromArray [];
- Example 3:
[1,2,3] createHashMapFromArray ["one","two","three","four"];
Additional Information
- See also:
- createHashMap
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