🌈 搜索
📅  最后修改于: 2022-03-11 15:02:44.058000             🧑  作者: Mango
const truthCheck = (collection, pre) => collection.every(elem => elem.hasOwnProperty(pre) && elem[pre]);