> For the complete documentation index, see [llms.txt](https://docs.quantum-studios.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quantum-studios.net/qtm-lib/client-functions/inventory/inventorystate.md).

# InventoryState

{% code overflow="wrap" %}

```etlua
Inventory.InventoryState()
```

{% endcode %}

### Returns

| Data Type | Explanation                                              |
| --------- | -------------------------------------------------------- |
| boolean   | Returns true if inv is opened and false if inv is closed |
