Function

assertAny

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

assertAny

Common
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.