javascript function findItems Checks if no items are found of a particular type code example
Example 1: typescript check if element in array
your_array.includes(the_element)
Example 2: react check if array contains value
console.log(['joe', 'jane', 'mary'].includes('jane')); //true