---
title: "isPopup"
description: "Returns whether the node is a popup.

This only checks if the node itself is a popup, not if it is _part of_ a popup. Use
`hasAnyAncestorThat(isPopup())` for that."
type: "function"
---

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


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


```kotlin
fun isPopup(): SemanticsMatcher
```


Returns whether the node is a popup.

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



