check if javascript multi dimensional array contains a value code example Example: js 2d array includes array.some(row => row.includes(search))