> For the complete documentation index, see [llms.txt](https://docs.novarietygames.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.novarietygames.com/websitecreator/luascript/marketplace/hasasset.md).

# hasAsset

Returns whether the inventory of the given player contains an asset

```lua
marketplace.hasAsset(assetId: Number): Boolean
```
