How to find index of array of object given a property value?

I have an array of object that holds two objects. Each object has a couple properties; one being dealerNo. Given the value of dealerNo, how would I get the index of that object?

Leave a Comment