---
name: "BIS_fnc_inventoryExists"
type: function
status: ok
groups: ["Inventory"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_inventoryExists
revid: 328426
updated: 2022-07-13T16:00:51Z
---

# BIS_fnc_inventoryExists

*Function · Inventory · Arma 3 v1.00*

## Description

Check if loadout with given name exists.

## Syntax

```sqf
[source, name] call BIS_fnc_inventoryExists
```

**Parameters:**

- `source`: [Namespace](../topics/Namespace.md), [Group](../topics/Group.md) or [Object](../topics/Object.md) - (Optional, default [missionNamespace](../commands/missionNamespace.md)) loadout location
- `name`: [String](../topics/String.md) - (Optional, default "")

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md) if found, [false](../commands/false.md) otherwise

## Examples

### Example 1

```sqf
private _hasSuperLoadout = [missionNamespace, "mySuperLoadout"] call BIS_fnc_inventoryExists;
```

## See also

[setUnitLoadout](../commands/setUnitLoadout.md) · [getUnitLoadout](../commands/getUnitLoadout.md) · [BIS_fnc_saveInventory](../functions/BIS_fnc_saveInventory.md) · [BIS_fnc_deleteInventory](../functions/BIS_fnc_deleteInventory.md) · [BIS_fnc_loadInventory](../functions/BIS_fnc_loadInventory.md)

<sub>Source: [BI Community Wiki — BIS fnc inventoryExists](https://community.bistudio.com/wiki/BIS_fnc_inventoryExists) (revision 328426).</sub>
