Function

assertIsOn

Asserts that the current semantics node is checked.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

assertIsOn

Common
fun SemanticsNodeInteraction.assertIsOn(): SemanticsNodeInteraction

Asserts that the current semantics node is checked.

Throws AssertionError if the node is not unchecked, indeterminate, or not toggleable.