createHashMapFromArray: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
m (Text replacement - " |game1= arma3dev |version1= 2.01" to " |game1= arma3 |version1= 2.02")
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|game1= arma3dev
|game1= arma3


|version1= 2.01
|version1= 2.02


|gr1= HashMap
|gr1= HashMap

Revision as of 13:57, 23 February 2021

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:
createHashMapFromArray [[key1, value1], [key2, value2]]
Parameters:
key: HashMapKey
value: Anything
Return Value:
HashMap

Examples

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

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