keys: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(We're no strangers to love)
 
m (See also update)
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


|game1= arma3dev
|game1= arma3
 
|version1= 2.02
|version1= 2.01


|gr1= HashMap
|gr1= HashMap
Line 9: Line 8:
|descr= Retrieves a list of all keys in a [[HashMap]].
|descr= Retrieves a list of all keys in a [[HashMap]].


|s1= hashMap [[keys]] hashMap  
|s1= [[keys]] hashMap  


|p1= hashMap : [[HashMap]]
|p1= hashMap : [[HashMap]]
Line 15: Line 14:
|r1= [[Array]] - Array of all keys in the HashMap
|r1= [[Array]] - Array of all keys in the HashMap


|x1= <code>[[keys]] _myHashMap;</code>
|x1= <sqf>keys _myHashMap;</sqf>


|seealso= [[HashMap]]
|seealso= [[HashMap]] [[values]]
}}
}}

Revision as of 09:32, 31 January 2023

Hover & click on the images for description

Description

Description:
Retrieves a list of all keys in a HashMap.
Groups:
HashMap

Syntax

Syntax:
keys hashMap
Parameters:
hashMap : HashMap
Return Value:
Array - Array of all keys in the HashMap

Examples

Example 1:
keys _myHashMap;

Additional Information

See also:
HashMap values

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