---
title: "assertIsOff"
description: "Asserts that the current semantics node is unchecked.

Throws [AssertionError] if the node is checked, indeterminate, or not toggleable."
type: "function"
---

<div class='type'>Function</div>


<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun SemanticsNodeInteraction.assertIsOff(): SemanticsNodeInteraction
```


Asserts that the current semantics node is unchecked.

Throws `AssertionError` if the node is checked, indeterminate, or not toggleable.



