values: Difference between revisions

From Bohemia Interactive Community
m (Some wiki formatting)
m (See also)
 
Line 16: Line 16:
|x1= <sqf>private _values = values _myHashMap;</sqf>
|x1= <sqf>private _values = values _myHashMap;</sqf>


|seealso= [[keys]]
|seealso= [[keys]] [[toArray]]
}}
}}

Latest revision as of 00:51, 28 July 2025

Hover & click on the images for description

Description

Description:
Returns all values stored in the given HashMap. The order of the returned Array corresponds to the order of the Array returned by the keys command.
Groups:
HashMap

Syntax

Syntax:
values hashmap
Parameters:
hashmap: HashMap
Return Value:
Array - all values stored in hashmap

Examples

Example 1:
private _values = values _myHashMap;

Additional Information

See also:
keys toArray

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