Tests whether at least one element in a collection is truthy.
false
input collection
boolean indicating whether at least one element is truthy
var arr = [ 0, 0, 0, 0, 1 ]; var bool = any( arr ); // returns true
Tests whether at least one element in a collection is truthy.
Notes
false
.