Function

assertIsToggleable

Asserts that the current semantics node is toggleable.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

assertIsToggleable

Common
fun SemanticsNodeInteraction.assertIsToggleable(): SemanticsNodeInteraction

Asserts that the current semantics node is toggleable.

Throws AssertionError if the node is not toggleable.