# Contains(T)

> Returns true if a particular value is present.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public bool Contains(T item)
```

### Parameters

**** (T): The item to look up.

### Returns

| Type                                                          | Description                    |
| ------------------------------------------------------------- | ------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the value was present. |
