Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

every in javascript

let data = [ {status: true}, {status: false}, {status: true} ]
let result = data.every((i) => {
	return i.status === true
})
console.log(result) // false
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javascript
ADD COMMENT
Topic
Name
9+3 =