UNPKG

plugin-tls

Version:

plugin-tls 是插件系统相应的工具,可快速地让任何模块具备插件机制

82 lines (37 loc) 825 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [plugin-tls](./plugin-tls.md) &gt; [setPropertyValue](./plugin-tls.setpropertyvalue.md) ## setPropertyValue() function 通过属性路径列表设置对象中对应属性的值 **Signature:** ```typescript export declare function setPropertyValue(obj: any, props: string[], value: any): any; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> obj </td><td> any </td><td> </td></tr> <tr><td> props </td><td> string\[\] </td><td> </td></tr> <tr><td> value </td><td> any </td><td> </td></tr> </tbody></table> **Returns:** any