xxxxxxxxxx
const validations = [
true,
false,
'0',
undefined
null
];
const isEntirelyTrue = validations.every(Boolean);
// The above is equivalent to saying:
const isEntirelyTrue = validations.every(item => !!item);
const isEntirelyTrue = validations.every(item => item === true);