# operator !(bool2x2)

> Returns the result of a componentwise not operation on a bool2x2 matrix.

## Definition

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

```csharp
public static bool2x2 operator !(bool2x2 val)
```

### Parameters

**** (\[bool2x2]\(/engine/6000.5/script-reference/unity/mathematics/bool2x2)): Value to use when computing the componentwise not.

### Returns

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