If statement about rect Array javascript

Is there a way to check if a item is inside a rect Array?

    var vragenArray : String[,];  
     vragenArray = new String[11,11]; 
     vragenArray[1,1] = "Aap";
     vragenArray[1,2] = "Monkey";
     vragenArray[1,3] = "Affe";
     vragenArray[1,4] = "Singe";
     vragenArray[1,5] = "Mono";

     vragenArray[2,1] = "Fiets";
     vragenArray[2,2] = "Bicycle";
     vragenArray[2,3] = "Fahrrad";
     vragenArray[2,4] = "Vélo";
     vragenArray[2,5] = "Bicicleta";

//this doesnt work:

if ("Vélo" in vragenArray[2]){
.....}

So what I want is to check if a answer is part of a group inside the array. Hope this make sence!

I’m a little rusty on my unity script, so treat this as pseudocode, but essentially what you want to do is create a function that iterates through your array and compares your target value with each element in the array.

function contains(arr, val) {
        var i = arr.length;
        var j = arr[0].length;
        while (i--) {
            while(j--) {
                if (arr[i,j] === val) {
                    return true;
                }
            }
        }
        return false;
    }