typescript find in array by id code example Example: is id in array typescript your_array.includes(the_id)