---
title: "isSelected"
description: "Returns whether the node is selected."
type: "function"
---

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


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


```kotlin
fun isSelected(): SemanticsMatcher
```


Returns whether the node is selected.



