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

hasAnySibling

Verifies whether the 3D semantic node has any sibling satisfying the given condition.

hasAnySibling

Source set: Android
public fun hasAnySibling(matcher: SubspaceSemanticsMatcher): SubspaceSemanticsMatcher

Verifies whether the 3D semantic node has any sibling satisfying the given condition.

A sibling is defined as any other spatial node sharing the exact same parent container.

Parameters

matcher The semantic criteria to evaluate against siblings.

Returns

a matcher validating the node's siblings.

Last updated: