js check property value in object array code example
Example: array has object with property js
myArray.some(obj => obj.property === 'value')
// returns true or false
myArray.some(obj => obj.property === 'value')
// returns true or false