Arma 3 Scripting

Command in HashMap

get

Also available as Markdown and JSON, or read the original wiki page.

Description

Retrieves a value out of a HashMap after looking it up by its key.

Syntax

hashMap get key

Parameters:

Returns: Anything, or Nothing if key is not found

Examples

Example 1

private _myValue = _myHashMap get "a";

See also

HashMap · getOrDefault