I have an array structured like this:
var myArray = [{ value1: "a", value2: "b" }, { value1: "c", value2: "d" }, { value1: "e", value2: "a" }];
From this array, I want to check if there is a 'value1' that has the value 'a' and have the function return true or false.
Is this possible, or will I have to loop through All the Objects, checking each value and then returning true/false?
Thanks!