title: Querying array of objects in typescript
body: <p>I have an array of JSON objects</p>
  
  <pre><code>array = [{name: "will", age: "18"}
           {name: "Elliott", age: "21"}
          ] 
  </code></pre>
  
  <p>Is there a way to get the "age" for any given "name" (as you would do with a SQL statement when querying a database?</p>