Recursively removes empty values from an object. This will also remove empty object or empty array.
the object being cleaned
Optional object with options for cleaning
the cleaned object
Recursively removes empty values from an object. This will also remove empty object or empty array.