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


<a id='references'></a>


<h2 id="isdialog">isDialog</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun isDialog(): SemanticsMatcher
```


Returns whether the node is a dialog.

This only checks if the node itself is a dialog, not if it is _part of_ a dialog. Use
`hasAnyAncestorThat(isDialog())` for that.