I need a fast way to find the one array in another.
The following example describes the scenario I have:
I need to find the array A:
var A = ["A0", "B0", "C0", "D2", "E2", "F0", "G2"];
In array B (please note, my B array may hold millions of results):
B[
["X0", "O0", "I0", "Z2", "T2", "L0", "V2"],
["I0", "V2", "O0", "T0", "L4", "X0", "Z3"],
["A0", "B0", "C0", "D2", "E2", "F0", "G2"],
["Z2", "L7", "T0", "I1", "V3", "X0", "O0"],
["Z3", "I1", "O0", "T3", "X0", "L2", "V2"],
["O0", "X0", "I1", "T2", "V0", "Z3", "L2"],
["I0", "Z0", "L7", "X0", "V3", "O0", "T3"],
["L3", "X0", "I1", "O0", "V0", "Z1", "T1"]
];
Is there a function that would either provide me with a true or false statement, or with an actual result which in the above case is: B[2]