# operator ==

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

## Definition

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

## operator ==(bool3x2, bool3x2)

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

```csharp
public static bool3x2 operator ==(bool3x2 lhs, bool3x2 rhs)
```

### Parameters

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

### Returns

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

## operator ==(bool3x2, bool)

Returns the result of a componentwise equality operation on a bool3x2 matrix and a bool value.

```csharp
public static bool3x2 operator ==(bool3x2 lhs, bool rhs)
```

### Parameters

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

### Returns

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

## operator ==(bool, bool3x2)

Returns the result of a componentwise equality operation on a bool value and a bool3x2 matrix.

```csharp
public static bool3x2 operator ==(bool lhs, bool3x2 rhs)
```

### Parameters

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

### Returns

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