I have array of object like this :
I need to select only the array which has coreSystemID = 'T24' so I tried credsArr.find() it shows my .find is not a function.
below is my code:
var creds = credsArr.find(x => x.coreSystemID === 'T24')
And I should use the index value like this - credsArr[3053], because the index may vary so I need to select the array which has coreSystemID = 'T24'

credsArris an object, not an array, the same for its values, 3052 and 3053...Object.values(credsArr).find(cred => cred.coreSystemID === "T24")