# operator ==

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

## Definition

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

## operator ==(uint2x4, uint2x4)

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

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

### Parameters

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

### Returns

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

## operator ==(uint2x4, uint)

Returns the result of a componentwise equality operation on a uint2x4 matrix and a uint value.

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

### Parameters

**** (\[uint2x4]\(/engine/6000.6/script-reference/unity/mathematics/uint2x4)): Left hand side uint2x4 to use to compute componentwise equality.**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): Right hand side uint to use to compute componentwise equality.

### Returns

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

## operator ==(uint, uint2x4)

Returns the result of a componentwise equality operation on a uint value and a uint2x4 matrix.

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

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): Left hand side uint to use to compute componentwise equality.**** (\[uint2x4]\(/engine/6000.6/script-reference/unity/mathematics/uint2x4)): Right hand side uint2x4 to use to compute componentwise equality.

### Returns

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