com-tools
Version:
com-tools 提供了一些通用的工具函数;
53 lines (25 loc) • 608 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [com-tools](./com-tools.md) > [removeUndefined](./com-tools.removeundefined.md)
## removeUndefined() function
移除根级 undefined 属性
**Signature:**
```typescript
export declare function removeUndefined(obj: 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>
</tbody></table>
**Returns:**
any