# operator ==

> Returns the result of a componentwise equality operation on two float2x4 matrices.

## Definition

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

## operator ==(float2x4, float2x4)

Returns the result of a componentwise equality operation on two float2x4 matrices.

```csharp
public static bool2x4 operator ==(float2x4 lhs, float2x4 rhs)
```

### Parameters

**** (\[float2x4]\(/engine/6000.5/script-reference/unity/mathematics/float2x4)): Left hand side float2x4 to use to compute componentwise equality.**** (\[float2x4]\(/engine/6000.5/script-reference/unity/mathematics/float2x4)): Right hand side float2x4 to use to compute componentwise equality.

### Returns

| Type                                                                    | Description                                   |
| ----------------------------------------------------------------------- | --------------------------------------------- |
| [bool2x4](/engine/6000.5/script-reference/unity/mathematics/bool2x4.md) | bool2x4 result of the componentwise equality. |

## operator ==(float2x4, float)

Returns the result of a componentwise equality operation on a float2x4 matrix and a float value.

```csharp
public static bool2x4 operator ==(float2x4 lhs, float rhs)
```

### Parameters

**** (\[float2x4]\(/engine/6000.5/script-reference/unity/mathematics/float2x4)): Left hand side float2x4 to use to compute componentwise equality.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Right hand side float to use to compute componentwise equality.

### Returns

| Type                                                                    | Description                                   |
| ----------------------------------------------------------------------- | --------------------------------------------- |
| [bool2x4](/engine/6000.5/script-reference/unity/mathematics/bool2x4.md) | bool2x4 result of the componentwise equality. |

## operator ==(float, float2x4)

Returns the result of a componentwise equality operation on a float value and a float2x4 matrix.

```csharp
public static bool2x4 operator ==(float lhs, float2x4 rhs)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Left hand side float to use to compute componentwise equality.**** (\[float2x4]\(/engine/6000.5/script-reference/unity/mathematics/float2x4)): Right hand side float2x4 to use to compute componentwise equality.

### Returns

| Type                                                                    | Description                                   |
| ----------------------------------------------------------------------- | --------------------------------------------- |
| [bool2x4](/engine/6000.5/script-reference/unity/mathematics/bool2x4.md) | bool2x4 result of the componentwise equality. |
