<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [com-tools](./com-tools.md) &gt; [hasSubGroups](./com-tools.hassubgroups.md)

## hasSubGroups() function

判断组节点是否包含子组

**Signature:**

```typescript
export declare function hasSubGroups(node: GroupTree<any, any>): boolean;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

node


</td><td>

[GroupTree](./com-tools.grouptree.md)<!-- -->&lt;any, any&gt;


</td><td>


</td></tr>
</tbody></table>
**Returns:**

boolean


