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

assertAny

Asserts that this collection contains at least one element that satisfies the given matcher.

assertAny

Source set: Common
public fun SemanticsNodeInteractionCollection.assertAny(
    matcher: SemanticsMatcher
): SemanticsNodeInteractionCollection

Asserts that this collection contains at least one element that satisfies the given matcher.

Parameters

matcher Matcher that has to be satisfied by at least one of the nodes in the collection.

Throws: AssertionError

if not at least one matching node was node.