title: How to compare values of properties in test object via "where" using Ramda
body: <p>Using the Ramdajs' "where" function (see: <a href="http://ramdajs.com/0.19.1/docs/#where" rel="nofollow">"where" - ramda docs</a>) i'd like to create a test object which compares the values of the properties among themselves.</p>
  
  <p>Example:</p>
  
  <pre><code>        let pred = R.where({
              a: predTestA(...),
              b: predTestB(...),
              c: predTestC(...)
          });
  </code></pre>
  
  <p>Therefore i'd like to write a Test Method that compares the values of a, b and c.</p>
  
  <p>Example: </p>
  
  <pre><code>// Test if the value of "a" is higher or equal than all other values
  
  let predTestA = (...) =&gt; {
    if ((valA &gt;= ValB) || (valA &gt;= ValC)) {
      return true
    } else {
      return false
    }
  } 
  </code></pre>
  
  <p>Questions:</p>
  
  <ol>
  <li>How can i access the values of the properties?</li>
  <li>Do you see a better way to accomplish the comparison of the object values?</li>
  </ol>
  
  <p>Thanks for your help!</p>
  
  <p>Muff</p>