isSumType.isSumType

Undocumented in source.
  1. enum isSumType;
  2. enum isSumType;
  3. enum isSumType;
    template isSumType(T)
    static if(!(is(T : SumType!Args, Args...)))
    static if(!(is(T == struct) && __traits(getAliasThis, T).length > 0))
    enum isSumType = false;

Meta