# IsTempMemoryHandle(AtomicSafetyHandle)

> Checks if an AtomicSafetyHandle is the temporary memory safety handle for the active temporary memory scope.

## Definition

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

```csharp
public static bool IsTempMemoryHandle(AtomicSafetyHandle handle)
```

### Parameters

**** (\[AtomicSafetyHandle]\(/engine/6000.5/script-reference/unity/collections/lowlevel/unsafe/atomicsafetyhandle)): The AtomicSafetyHandle to check.

### Returns

| Type                                                          | Description                                                                     |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the safety handle is the temporary memory handle for the current scope. |

### Remarks

Additional Resources: [AtomicSafetyHandle.GetTempMemoryHandle](/engine/6000.5/script-reference/unity/collections/lowlevel/unsafe/atomicsafetyhandle/gettempmemoryhandle.md).
