Как найти индекс имущества в массиве объекта в TypeScript
const index = objectArray.findIndex((item) => item.name === 'Israel');
Perfect Peccary
const index = objectArray.findIndex((item) => item.name === 'Israel');