com-tools
Version:
com-tools 提供了一些通用的工具函数;
53 lines (25 loc) • 748 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [com-tools](./com-tools.md) > [getSubGroupNames](./com-tools.getsubgroupnames.md)
## getSubGroupNames() function
获取组树某个节点的子组名字
**Signature:**
```typescript
export declare function getSubGroupNames<Group extends PropertyKey = string>(node: GroupTree<any, Group>): 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)<!-- --><any, Group>
</td><td>
</td></tr>
</tbody></table>
**Returns:**
Group\[\]