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