# hasChildren

> Returns true if TreeViewItem<TIdentifier>.children has any items.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.IMGUI.Controls](/engine/6000.3/script-reference/unityeditor/imgui/controls.md)
* **Assembly:** UnityEditor

```csharp
public virtual bool hasChildren { get; }
```
