how to detect if something is in array code example Example: js check if array Array.isArray([1, 2, 3]); // true Array.isArray('asdf'); // false