js check if all object item are true code example Example: js check if obj all false Object.keys(obj).every((k) => !obj[k])