Function

hasParent

Returns whether the node's parent satisfies the given matcher.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

hasParent

Common
fun hasParent(matcher: SemanticsMatcher): SemanticsMatcher

Returns whether the node's parent satisfies the given matcher.

Returns false if no parent exists.