# operator ==

> Returns the result of a componentwise equality operation on two uint4 vectors.

## Definition

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

## operator ==(uint4, uint4)

Returns the result of a componentwise equality operation on two uint4 vectors.

```csharp
public static bool4 operator ==(uint4 lhs, uint4 rhs)
```

### Parameters

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

### Returns

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

## operator ==(uint4, uint)

Returns the result of a componentwise equality operation on a uint4 vector and a uint value.

```csharp
public static bool4 operator ==(uint4 lhs, uint rhs)
```

### Parameters

**** (\[uint4]\(/engine/6000.7/script-reference/unity/mathematics/uint4)): Left hand side uint4 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                                 |
| ------------------------------------------------------------------- | ------------------------------------------- |
| [bool4](/engine/6000.7/script-reference/unity/mathematics/bool4.md) | bool4 result of the componentwise equality. |

## operator ==(uint, uint4)

Returns the result of a componentwise equality operation on a uint value and a uint4 vector.

```csharp
public static bool4 operator ==(uint lhs, uint4 rhs)
```

### Parameters

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

### Returns

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