Function 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.