Function

hasAnySibling

Returns whether the node has at least one sibling that satisfies the given matcher.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

hasAnySibling

Common
fun hasAnySibling(matcher: SemanticsMatcher): SemanticsMatcher

Returns whether the node has at least one sibling that satisfies the given matcher.

Sibling is defined as a any other node that shares the same parent.