title: How can I filter a set of data based on 4 conditions?
body: <p>I have data which is structured like so:</p>
  <pre><code>[
   {title: 'a', washday: 'true', cutday: 'false', colorday: 'true', deepconditionday: 'true'},
   {title: 'b', washday: 'false', cutday: 'true', colorday: 'false', deepconditionday: 'false'},
   {title: 'c', washday: 'true', cutday: 'false', colorday: 'true', deepconditionday: 'true'},
   {title: 'd', washday: 'false', cutday: 'false', colorday: 'false', deepconditionday: 'false'},
  ]
  </code></pre>
  <p>I also have states in my app for <em>cutday</em>, <em>colorday</em>, <em>deepconditionday</em> and <em>washday</em> where each one has a switch to toggle between booleans true and false.</p>
  <p>How can I filter the above data according to which states are switched on? For example if only colorday is switch on, I want to show all items where colorday is 'true'. If both deepconditionday and cutday are switched on, I want to show all items where both cutday and deepconditionday are 'true'.</p>
  <p>Thanks.</p>