> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/api/csharp/yarn.unity/yarn.unity.serializabledictionarybase-2/yarn.unity.serializabledictionarybase.contains.md).

# Contains(KeyValuePair\<TKey, TValue>)

Method in [SerializableDictionaryBase\<TKey, TValue, TValueStorage>](/api/csharp/yarn.unity/yarn.unity.serializabledictionarybase-2.md)

## Summary

```csharp
public bool Contains(KeyValuePair<TKey, TValue> item)
```

## Parameters

| Name                              | Description |
| --------------------------------- | ----------- |
| `KeyValuePair<TKey, TValue>` item |             |
