title: How to get a filtered set of values from JSON.stringify
body: <p>Currently, I am getting both boolean values in &quot;ids&quot;. How can I filter so that I get only true values.</p>
  <p>fetchValue( event ) {</p>
  <pre><code>    console.log( 'Value from Child LWC is ' + event.detail );
      this.strOutput = event.detail;
      console.log(JSON.stringify(this.strOutput))
      var ids = this.strOutput.todolist.map(x =&gt; x.isCompleted)
      console.log(ids)
      
      console.log('What'+this.temp)
  </code></pre>