title: In LessCSS, how can I assign true to a variable?
body: <p>I'm new to Less, and I'm trying to implement simple mixins, but this throws a compilation error:</p>
  
  <pre><code>@show-image: true;
  
  .testimg() when not (@show-image) {
      display: none;
  }
  
  img.test {
      .testimg;
  }
  </code></pre>
  
  <p>It seems the compiler doesn't like my <code>@show-image: true</code> assignation. I tried assigning the number <code>1</code>, but the result was</p>
  
  <pre><code>img.test {
      display: none;
  }
  </code></pre>
  
  <p>And that makes sense since (according to <a href="http://lesscss.org/#-pattern-matching-and-guard-expressions" rel="nofollow">the documentation</a>) <em>any value other than the keyword <code>true</code> is falsy</em>. </p>
  
  <p>But can I assign the keyword <code>true</code> to my <code>@show-image</code> variable, or does it only work for with arguments?</p>