title: How to get the value of a nested object containing array of values
body: <p>I am trying to check if a value is present in the below nested object:</p>
  <pre><code>var Obj = {
     &quot;testname&quot;:&quot;Validator&quot;,
     &quot;dataTableName&quot;:&quot;y&quot;,
     &quot;dataColumnName&quot;:&quot;y&quot;,
     &quot;CheckFilter&quot;:&quot;CheckBoxFilter&quot;,
     &quot;CheckFilterSettings&quot;:{
        &quot;values&quot;:[
           &quot;70.00&quot;
        ],
        &quot;hierarchyPaths&quot;:[
           
        ]
     }
  }
  </code></pre>
  <p>I tried using</p>
  <pre><code>for (var i in Obj) {
      if (Obj[i].CheckFilterSettings.values[0] === &quot;70.00&quot;){
      console.log(&quot;Value Found&quot;);
      }else{
          console.log(&quot;Value Not Found&quot;);
          }
      }
  </code></pre>
  <p>Could someone please suggest where I am going wrong.</p>