On Friday, 17 March 2017 at 00:39:15 UTC, Hussien wrote: > if (x in [a,b,c,..]) import std.algorithm.comparison; x.among(a, b, c); http://dpldocs.info/experimental-docs/std.algorithm.comparison.among.1.html