# Equals

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

## Definition

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

## Equals(float2x4)

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

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

### Parameters

**** (\[float2x4]\(/engine/6000.7/script-reference/unity/mathematics/float2x4)): 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 float2x4 is equal to a given float2x4, 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. |
