I have an Array of Array:
val arr = Array(Array("1","page"),Array("1","thankyou"))
I know that indexOf function is used to get the first index of an element in an array but not sure how to get the index of outer array based on inner array elements.
Like index of "page" in arr is 0 and index of "thankyou" is 1.
Kindly suggest a solution in Scala.
Thanks