---
title: "assertIsSelectable"
description: "Asserts that the current semantics node is selectable.

Throws [AssertionError] if the node is not selectable."
type: "function"
---

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


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


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


Asserts that the current semantics node is selectable.

Throws `AssertionError` if the node is not selectable.



