title: Angular / Typescript get only 1 record and a value of it's id
body: <p>I have some data in a variable which looks like this on chrome console:</p>
  
  <pre><code>0:
  @attributes:
      actPer: "1",
      id: "19"
  1:
  @attributes:
      actPer: "1"
      id: "17"
  etc
  </code></pre>
  
  <p>To filter I used:</p>
  
  <pre><code>myvar = this.obj.listResponse.instance;
  </code></pre>
  
  <p>Up to there all ok.</p>
  
  <p>What I now need to do it to just get the 1st item and get the id value of that item.</p>
  
  <p>How can I do this?</p>