title: Check If Array Has Value in Angular
body: <p>I have to check if any of the "cuesData" has a value or length greater than 0. 
  In my code below, i can only check the first array but not the others.</p>
  
  <p><a href="https://i.stack.imgur.com/bMpvg.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bMpvg.jpg" alt="enter image description here"></a></p>
  
  <p><strong>TS</strong></p>
  
  <pre><code>checkValues(values) {
      const result = Object.values(values).every((value) =&gt; value[1].cuesData.length &gt; 0);
      return result;
  }
  </code></pre>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;div *ngIf="checkValues(values) === true"&gt;
  </code></pre>
  
  <p><strong>JSON</strong></p>
  
  <pre><code>  [
        [
          "videoData__1",
          {
            "id": 1,
            "title": "Pale Blue Dot",
            "stoppedAt": 97.834667,
            "cuesData": [
              {
                "startTime": 25.335678,
                "endTime": 35.335678,
                "description": "fqff"
              }
            ]
          }
        ],
        [
          "videoData__2",
          {
            "id": 2,
            "title": "Big Buck Bunny",
            "stoppedAt": 247.57881,
            "cuesData": []
          }
        ],
        [
          "videoData__3",
          {
            "id": 3,
            "title": "Elephants Dream",
            "stoppedAt": 404.585327,
            "cuesData": []
          }
        ]
  ]
  </code></pre>