hasAnyDescendant
Source set: Android
public fun hasAnyDescendant(matcher: SubspaceSemanticsMatcher): SubspaceSemanticsMatcher
Verifies whether any descendant of the 3D semantic node satisfies the given condition.
Recursively descends the 3D semantic structure to locate deeply nested elements.
Example usage:
|-X
|-A
|-B
|-C1
|-C2
In case of A, we would check the matcher against B, C1 and C2.
Parameters
| matcher | The semantic criteria for the expected descendant. |
Return
a matcher validating the presence of the specified descendant.