isDialog
Source set: Common
public 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.
Returns whether the node is a dialog.
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Robomori
Run Android emulators and devices outside Android Studio.
public 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.
Content updated: