I have the following object:
var myObj =
{"qId":"726112",
"text":"xx",
"answers":[{"answerId":null,
"answerUId":1,
"text":"xx",
"correct":null,
"response":false},
{"answerId":null,
"answerUId":2,
"text":"xx",
"correct":null,
"response":false},
{"answerId":null,
"answerUId":4,
"text":"xx",
"correct":null,
"response":false}]}
Can someone tell me how I can use an if statement to check if any one of the response fields has a value of true?