Skip to content

How to find the index of property in array of object in TypeScript?

const index = objectArray.findIndex((item) => === 'Israel');
See also  How to make objects move in Roblox studio with a loop?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.