title: Negate condition of an if-statement
body: <p>If I want to do something like:</p>
  
  <pre><code>if (!(condition)) { }
  </code></pre>
  
  <p>What is the equivalent expression in Scala?
  Does it looks like?</p>
  
  <pre><code>if (not(condition)) { }
  </code></pre>
  
  <p>For example, in C++, I can do: </p>
  
  <pre><code>bool condition = (x &gt; 0)
  if(!condition){ printf("x is not larger than zero") }
  </code></pre>
  
  <p>EDIT: I have realized that Scala can definitely do the same thing as I asked. Please go ahead and try it.</p>