_.filter(myArray, _.isEmpty)
var myArrayFiltered = myArray.filter((ele) => { return ele.constructor === Object && Object.keys(ele).length > 0 });