Example:
let anyObject = {
  name: 'Any name',
  address: [{
    street: null, // should exclude
    city: 'any city',
    state: 'any state'
  }, {}],
  otherObject: {
    otherProperty: {
       value: {
         value1: 1,
         value2: {} // should exclude
       } 
    }
  }
}
removeAllPropertyWithoutValue(anyObject)
Exist some algorithm efficient for this? I tried with _.pick, but is only on first level deep object.
 
    