# operator ==

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

## Definition

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

## operator ==(half3, half3)

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

```csharp
public static bool3 operator ==(half3 lhs, half3 rhs)
```

### Parameters

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

### Returns

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

## operator ==(half3, half)

Returns the result of a componentwise equality operation on a half3 vector and a half value.

```csharp
public static bool3 operator ==(half3 lhs, half rhs)
```

### Parameters

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

### Returns

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

## operator ==(half, half3)

Returns the result of a componentwise equality operation on a half value and a half3 vector.

```csharp
public static bool3 operator ==(half lhs, half3 rhs)
```

### Parameters

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

### Returns

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