title: Detect Array of Arrays
body: <p>i have a json that may return something like this</p>
  
  <pre><code>"coordinates":
    [
      [[100.0,0.0],[101.0,0.0],[101.0,1.0],[100.0,1.0],[100.0,0.0]],
      [[100.2,0.2],[100.8,0.2],[100.8,0.8],[100.2,0.8],[100.2,0.2]]
    ]
  </code></pre>
  
  <p>Which will appear as an array of array Which I need to handle differently than something that may look like</p>
  
  <pre><code>"coordinates":[30.0,10.0]
  </code></pre>
  
  <p>But I was doing different actions based on the length of the coordinates array which in both cases is 2. (2 is a point else polygon or polyline) But I need to make sure that it isn't an array of arrays</p>