assertAny

Function

Common
fun SemanticsNodeInteractionCollection.assertAny(
    matcher: SemanticsMatcher
): SemanticsNodeInteractionCollection

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

Parameters

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