I have an array of objects, currently I loop throught them and test them one by one, but I try to make my code more concice and easy to follow. I wonder weather there is a way, with javascript or underscore, to test if at least one item in array returns true.
for (var x = 0; x < user.apilog.length; x++) {
//test the conversion
if(conversions[i].conditional(user.apilog[x]) ){
//run if true
break;
}
}