{"name":"BIS_fnc_inventoryExists","operator":null,"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","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Check if loadout with given name exists.","syntaxes":[{"syntax":"[source, name] call BIS_fnc_inventoryExists","since":null,"effect":null,"exec":null,"params":[{"name":"source","type":"Namespace, Group or Object","optional":true,"default":"missionNamespace","description":"loadout location","types":["Namespace","Group","Object"],"since":null,"text":"source: Namespace, Group or Object - (Optional, default missionNamespace) loadout location"},{"name":"name","type":"String","optional":true,"default":"\"\"","description":null,"types":["String"],"since":null,"text":"name: String - (Optional, default \"\")"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true if found, false otherwise","text":"Boolean - true if found, false otherwise"}}],"examples":[{"text":"```sqf\nprivate _hasSuperLoadout = [missionNamespace, \"mySuperLoadout\"] call BIS_fnc_inventoryExists;\n```","code":["private _hasSuperLoadout = [missionNamespace, \"mySuperLoadout\"] call BIS_fnc_inventoryExists;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setUnitLoadout","getUnitLoadout","BIS_fnc_saveInventory","BIS_fnc_deleteInventory","BIS_fnc_loadInventory"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Inventory","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}