title: How to Iterate array of primitives in JSONata
body: <p>I would like to know how to iterate an array of primitives such as array of int or if it is as a simple array of string.</p>
  
  <pre><code>{
     "printers":[
        "HP-1234",
        "HP-Inkjet"
     ]
  }
  </code></pre>
  
  <p>I would like to iterate the array and do some thing like this:</p>
  
  <pre><code>for( String obj:printers) {
      if(obj.contains("HP")) {
          //do something here
      }
  }
  </code></pre>
  
  <p>How can i do this using JSONata?</p>
  
  <p>Any help will be appreciated!</p>