Compose Unstyled 2.0 is out! Check the official announcement blog ->
Function

hasParent

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

hasParent

Source set: Common
fun hasParent(matcher: SemanticsMatcher): SemanticsMatcher

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

Returns false if no parent exists.

Last updated: