Given an object, return a new object with only the keys that have non-null and non-undefined values. This function works recursively on nested objects.
The object to transform.
The transformed object.
Given an object, return a new object with only the keys that have non-null and non-undefined values. This function works recursively on nested objects.