# Equals(EntityInChunk)

> Compares two EntityInChunk instances for equality/

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public bool Equals(EntityInChunk other)
```

### Parameters

**** (\[EntityInChunk]\(/engine/7000.0/script-reference/unity/entities/entityinchunk)): The other instance to compare.

### Returns

| Type                                                          | Description                                                           |
| ------------------------------------------------------------- | --------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the two instances refer to the same entity in the same chunk. |
