title: How to check if array is multidimensional? (jQuery)
body: <p>I have two arrays of AJAX (JSON) response:</p>
  
  <p>One dimension:</p>
  
  <pre><code>[["fili","Chif"],["Bart","deme"],["Bomb","Jyui"],["Joiu","FDPi"],["Doen","abcd"],["drog","MAIC"],["Jasi"
  ,"abcd"],["Jere","Jibi"]]
  </code></pre>
  
  <p>Three dimensions:</p>
  
  <pre><code>[[["5","#"],["2","N"],["L","7"],["C","8"],["F","W"],["K","T"],["Q","E"],["Z","\/"]],[["B","O"],["$","P"
  ],["1","Y"],["H","R"],["3","%"],["I","U"],["M","4"],["A","9"]],[["J","X"],["Bye","G"],["D","V"],["Bye"
  ,"6"]]]
  </code></pre>
  
  <p>I try to check if an array is multidimensional but does not work:</p>
  
  <pre><code>if (typeof arr[0][0] != "undefined" &amp;&amp; arr[0][0].constructor == Array) {
       return true;
  } 
  </code></pre>