keys: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - " (\|[pr][0-9]+ *= *[^-]+) *- *A([a-z])" to " $1 - a$2") |
||
(One intermediate revision by one other user not shown) | |||
Line 12: | Line 12: | ||
|p1= hashMap : [[HashMap]] | |p1= hashMap : [[HashMap]] | ||
|r1= [[Array]] - | |r1= [[Array]] - array of all keys in the HashMap | ||
|x1= <sqf>keys _myHashMap;</sqf> | |x1= <sqf>keys _myHashMap;</sqf> | ||
|seealso= [[HashMap]] | |seealso= [[HashMap]] [[values]] | ||
}} | }} |
Latest revision as of 12:40, 8 November 2023
Description
Syntax
- Syntax:
- keys hashMap
- Parameters:
- hashMap : HashMap
- Return Value:
- Array - array of all keys in the HashMap
Examples
- Example 1:
- keys _myHashMap;
Additional Information
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