ID в массиве TypeScript

your_array.includes(the_id)
Cute Caterpillar