title: Directly use the result of a custom less function
body: <p>as a Software Developer I'm used to reuse my code instead of stupid copy&amp;paste work.</p>
  
  <p>In my Less-File, i want to compute a complementary color multiple times and use it e.g. for text color.</p>
  
  <p>so i defined my function like this:</p>
  
  <pre><code>.getComplement(@baseColor){
      @invertedColor: #fff - @baseColor;
      return: @invertedColor;
  }
  </code></pre>
  
  <p>with this i tried to use the outcome of the function like this:</p>
  
  <pre><code>.classSelector {
      color: .getComplement(#000);
  }
  </code></pre>
  
  <p>But when compiling it, the compiler always says "Syntax Error" on the line where i use the function and set the color:</p>
  
  <pre><code>color: .getComplement(#000);
  </code></pre>
  
  <p>so my question is, how can i directly use the output of a function in LESS like it can be done with e.g.</p>
  
  <pre><code>color: darken(red, 10%);
  </code></pre>