removeEmptyProps

Function

Remove empty properties from an object graph

  • removeEmptyProps(obj: [key: string]: any ) : [key: string]: any

Parameters

Parameter Type Default Notes
obj Required [key: string]: any

Object to remove empty/null properties from

Returns

[key: string]: any

Function defined in common/src/objects/remove-empty-props.ts:5