# Not

# Not


```
class Not : UnaryExpression
```

<br />

|---|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||||
| ↳ | [com.google.home.automation.ExpressionWithId](https://developers.home.google.com/reference/kotlin/com/google/home/automation/ExpressionWithId) |||
|   | ↳ | [com.google.home.automation.UnaryExpression](https://developers.home.google.com/reference/kotlin/com/google/home/automation/UnaryExpression) ||
|   |   | ↳ | [com.google.home.automation.Not](https://developers.home.google.com/reference/kotlin/com/google/home/automation/Not) |

*** ** * ** ***

The logical NOT operator.

```kotlin
val x = Not(false)
```

## Summary

| ### Inherited properties |
|---|
| From [com.google.home.automation.UnaryExpression](https://developers.home.google.com/reference/kotlin/com/google/home/automation/UnaryExpression) |---|---| | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Expression` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/UnaryExpression#operand()` The operand. | |