Chris Nicholson-Sauls wrote: > Walter Bright wrote: >> Andrei Alexandrescu wrote: >>> I asked in vain for is(var == ref), is(var == out) etc. >> >> That's because 'is' works with types, not symbols. It didn't fit. > > is(typeof(var) == ref) ? No, because ref is not part of the type. It's a storage class.