📜  从数组 lodash 中删除空对象 - TypeScript 代码示例
📅  最后修改于: 2022-03-11 14:48:16.027000             🧑  作者: Mango
代码示例2
var myArrayFiltered = myArray.filter((ele) => {
return ele.constructor === Object && Object.keys(ele).length > 0
});