isRoot
Source set: Common
fun isRoot() = SemanticsMatcher("isRoot") { it.isRoot }
Return whether the node is the root semantics node.
There is always one root in every node tree, added implicitly by Compose.
Return whether the node is the root semantics node.
Compose Multiplatform
Ship iOS, desktop, and web apps with Compose
RevenueCat
Add subscriptions to your apps in minutes
fun isRoot() = SemanticsMatcher("isRoot") { it.isRoot }
Return whether the node is the root semantics node.
There is always one root in every node tree, added implicitly by Compose.
Last updated: