{"name":"get","title":"get","type":"command","url":"https://community.bistudio.com/wiki/get","revid":348437,"updated":"2023-11-08T13:00:13Z","groups":["HashMap"],"status":"ok","games":{"arma3":"2.02"},"since":"arma3 2.02","arma3_since":"2.02","description":"Retrieves a value out of a HashMap after looking it up by its key.","syntaxes":[{"syntax":"hashMap get key","params":[{"name":"hashMap","type":"HashMap","type_expr":"HashMap"},{"name":"key","type":"HashMapKey","description":"case sensitive key","type_expr":"HashMapKey"}],"returns":{"type":"Anything, or Nothing","type_expr":"Anything | Nothing","description":"if key is not found","text":"Anything, or Nothing if *key* is not found"},"form":"binary","left":{"text":"hashMap"},"right":{"text":"key"}}],"examples":[{"code":["private _myValue = _myHashMap get \"a\";"]}],"see_also":["HashMap","getOrDefault"]}