<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [com-tools](./com-tools.md) &gt; [getSubGroupEntries](./com-tools.getsubgroupentries.md)

## getSubGroupEntries() function

获取某个节点的所有直接子组名字 和 对应的节点

**Signature:**

```typescript
export declare function getSubGroupEntries<Member, Group extends PropertyKey = string>(node: GroupTree<any, Group>): [Group, GroupTree<Member, Group>][];
```

## 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, Group&gt;


</td><td>


</td></tr>
</tbody></table>
**Returns:**

\[Group, [GroupTree](./com-tools.grouptree.md)<!-- -->&lt;Member, Group&gt;\]\[\]


