# Contains(void*)

> Returns true if the list contains at least one occurrence of a specific pointer.

## Definition

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

```csharp
public bool Contains(void* ptr)
```

### Parameters

**** (\[void\*]\(https\://learn.microsoft.com/dotnet/api/system.void)): The pointer to search for in the list.

### Returns

| Type                                                          | Description                                                       |
| ------------------------------------------------------------- | ----------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the list contains at least one occurrence of the pointer. |
