Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript every nested array

var array = [[false, false, false, false], [false, false, false, false], [false, false, false, false], [false, false, false, false]],
    result = !array.some(a => a.some(Boolean));

console.log(result);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #nested #array
ADD COMMENT
Topic
Name
4+9 =