UNPKG

com-tools

Version:

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

53 lines (25 loc) 597 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [com-tools](./com-tools.md) &gt; [removeNull](./com-tools.removenull.md) ## removeNull() function 移除根级 undefined 和 null 属性 **Signature:** ```typescript export declare function removeNull(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