---
title: "hasAnySibling"
description: "Verifies whether the 3D semantic node has any sibling satisfying the given condition."
type: "function"
lastmod: "2026-06-18T10:32:52.440660Z"
---
## API Reference

### hasAnySibling

> Source set: Android

```kotlin
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. |
