UNPKG

com-tools

Version:

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

72 lines (34 loc) 763 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [com-tools](./com-tools.md) &gt; [getMember](./com-tools.getmember.md) ## getMember() function 获取成员值 **Signature:** ```typescript export declare function getMember(target: any, propPath: ObjectKey[]): any; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> target </td><td> any </td><td> 目标对象 </td></tr> <tr><td> propPath </td><td> [ObjectKey](./com-tools.objectkey.md)<!-- -->\[\] </td><td> 属性路径 </td></tr> </tbody></table> **Returns:** any 成员值