🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

assertIsOn

Asserts that the current semantics node is checked.

assertIsOn

Source set: Common
public fun SemanticsNodeInteraction.assertIsOn(): SemanticsNodeInteraction

Asserts that the current semantics node is checked.

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