# HasItemChildren(int)

> Checks whether the tree item has children.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Profiling](/engine/6000.5/script-reference/unityeditor/profiling.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public bool HasItemChildren(int id)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Hierarchy item identifier.

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |
