synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
9 lines • 400 B
TypeScript
/**
* Removes fields with value 'undefined' from an object (not recursive).
*
* Use the `inPlace` parameter to modify the object (using `delete`), rather than creating a new object.
*
* See https://stackoverflow.com/questions/25421233
*/
export declare function removeUndefined(obj: Record<string, unknown>, inPlace?: boolean): Record<string, unknown>;
//# sourceMappingURL=ObjectUtils.d.ts.map