Tests whether all elements in a collection are truthy.
true
input collection
boolean indicating whether all elements are truthy
var arr = [ 1, 1, 1, 1, 1 ]; var bool = every( arr ); // returns true
Tests whether all elements in a collection are truthy.
Notes
true
.