Hi. I have a template with vararg[untyped] parameters, can I get count of 
parameters and realize branching like a: 
    
    
    template tmpl*(args: varargs[untyped]): untyped =
      when args.len > 0: # here is compilation will be excepted
        #...
      else:
        #...
    

Thanks.

Reply via email to