UNPKG

com-tools

Version:

com-tools 提供了一些通用的工具函数;

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