Compose API Reference Compose UI Test isOn Function Common fun isOn(): SemanticsMatcher Returns whether the node is toggled.