Überprüfen Sie, ob alle Elemente in Array echt sind JavaScript sind
You can use `every()` array method
let data = [ {status: true}, {status: false}, {status: true} ]
let result = data.every((i) => {
return i.status === true
})
console.log(result) // false
let data = [ {status: true}, {status: true}, {status: true} ]
let result = data.every((i) => {
return i.status === true
})
console.log(result) // true
D@RK$T@R