finding an object value in an array in js code example
Example 1: javascript find object in array
myArray.findIndex(x => x.id === '45');
Example 2: javascript find object array
const found = accesses.find(x => x.Resource === 'Clients');
console.log(found)