multi compare

Hussien via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 16 17:39:15 PDT 2017


Instead of

if (x == a || x == b || x = c || ....)

is there an easier way

stuff like

if (x in [a,b,c,..])

doesn't work.






More information about the Digitalmars-d-learn mailing list