Home / Javascript Tips Generated By ChatGPT / Using Array.isArray to Check for Arrays in Javascript Determine if a value is an array. Source Code console.log(Array.isArray([1, 2, 3])); // true console.log(Array.isArray({})); // false