I have an object like this but more complex:
var obj = 
{
  a: foo,
  b: bar,
  sub:{
    a: foz
    }
}
and then I have a conditionals based on the keys and values, for example:
{
  a: ^f,
  sub:{
     a: z$
  }
}
Is there a method for checking the conditionals are true for all of the objects properties. I'm also fine with chome-only-features or something like underscore. I can also re-structure the structure of my conditionals.
 
    