title: which condition is true in an if statement
body: <p>say I have an <code>if</code> statement as such</p>
  
  <pre><code>if(condition1 || condition2 || condition3)
  {
   //do something
  }
  </code></pre>
  
  <p>Is it possible to find out which of the 3 conditions was true when we enter the loop?</p>