07-18-2023, 08:25 PM
I have a value `'Dog'` and an array `['Cat', 'Dog', 'Bird']`.
How do I check if it exists in the array without looping through it? Is there a simple way of checking if the value exists, nothing more?
How do I check if it exists in the array without looping through it? Is there a simple way of checking if the value exists, nothing more?