title: Wrapped Array of Any type to Array type in Scala
body: <p>I have a WrappedArray value of type Any. How do I convert to Array.</p>
  
  <p>For Ex:</p>
  
  <pre><code>val flds = valArr(0)(2)
  flds: Any = WrappedArray(F1,F2,F3,F4,F5)
  </code></pre>
  
  <p>I tried converting flds to String Array.. </p>
  
  <pre><code>val flds = valArr(0)(2).toArray
  </code></pre>
  
  <p>But I got the below error</p>
  
  <pre><code>&lt;console&gt;:41: error: value toArray is not a member of Any
  </code></pre>
  
  <p>How do I convert..? I just want to loop through wrappedArray, But I didnt know how to do that.. Thats why I am trying to convert it to Array and loop through it. </p>