# ITEMSETS::IS_IN_ITEMSET

- **Hash:** `0xD1503C2EE2FE688C`
- **Namespace:** ITEMSETS
- **Runtime name (Lua/JS):** `IsInItemset`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/ITEMSETS/IS_IN_ITEMSET

## Signature

```c
BOOL IS_IN_ITEMSET(Entity entity, ItemSet itemset);
```

## Parameters

- `entity` (`Entity`)
- `itemset` (`ItemSet`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = IsInItemset(entity, itemset)

-- always available, by hash
local retval = Citizen.InvokeNative(0xD1503C2EE2FE688C, entity, itemset, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = IsInItemset(entity, itemset);

// by hash
const retval = Citizen.invokeNative('0xD1503C2EE2FE688C', entity, itemset, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xD1503C2EE2FE688C, entity, itemset);
```

*Sources: alloc8or RDR3 NativeDB.*
