plugin-tls
Version:
plugin-tls 是插件系统相应的工具,可快速地让任何模块具备插件机制
68 lines (31 loc) • 732 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [getPropertyValue](./plugin-tls.getpropertyvalue.md)
## getPropertyValue() function
通过key列表获取对象中对应属性的值
**Signature:**
```typescript
export declare function getPropertyValue(obj: any, props: string[]): 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>
</tbody></table>
**Returns:**
any