That was already included in my example, but with () notation:
    
    
    echo name(type(x))
    
    
    Run

Seems that import typetraits is not necessary for latest Nim compiler.

Reply via email to