# Equals

> Returns true if the double4x4 is equal to a given double4x4, false otherwise.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Mathematics](/engine/6000.6/script-reference/unity/mathematics.md)
* **Assembly:** UnityEngine.MathematicsModule

## Equals(double4x4)

Returns true if the double4x4 is equal to a given double4x4, false otherwise.

```csharp
public bool Equals(double4x4 rhs)
```

### Parameters

**** (\[double4x4]\(/engine/6000.6/script-reference/unity/mathematics/double4x4)): Right hand side argument to compare equality with.

### Returns

| Type                                                          | Description                            |
| ------------------------------------------------------------- | -------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | The result of the equality comparison. |

## Equals(Object)

Returns true if the double4x4 is equal to a given double4x4, false otherwise.

```csharp
public override bool Equals(object o)
```

### Parameters

**** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)): Right hand side argument to compare equality with.

### Returns

| Type                                                          | Description                            |
| ------------------------------------------------------------- | -------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | The result of the equality comparison. |
