JavaScript/jQuery equivalent of LINQ Any()

Solution 1:

These days you could actually use Array.prototype.some (specced in ES5) to get the same effect:

array.some(function(item) {
    return notValid(item);
});

Solution 2:

You could use variant of jQuery is function which accepts a predicate:

$(array).is(function(index) {
    return notValid(this);
});