{"name":"BIS_fnc_inventoryExists","title":"BIS fnc inventoryExists","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_inventoryExists","revid":328426,"updated":"2022-07-13T16:00:51Z","groups":["Inventory"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Check if loadout with given name exists.","syntaxes":[{"syntax":"[source, name] call BIS_fnc_inventoryExists","params":[{"name":"source","type":"Namespace, Group or Object","optional":true,"default":"missionNamespace","description":"loadout location","type_expr":"Namespace | Group | Object","text":"source: Namespace, Group or Object - (Optional, default missionNamespace) loadout location"},{"name":"name","type":"String","optional":true,"default":"\"\"","type_expr":"String","text":"name: String - (Optional, default \"\")"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true if found, false otherwise"}}],"examples":[{"code":["private _hasSuperLoadout = [missionNamespace, \"mySuperLoadout\"] call BIS_fnc_inventoryExists;"]}],"see_also":["setUnitLoadout","getUnitLoadout","BIS_fnc_saveInventory","BIS_fnc_deleteInventory","BIS_fnc_loadInventory"]}