True if T is a SumType or implicitly converts to one, otherwise false.
static struct ConvertsToSumType { SumType!int payload; alias payload this; } static struct ContainsSumType { SumType!int payload; } assert(isSumType!(SumType!int)); assert(isSumType!ConvertsToSumType); assert(!isSumType!ContainsSumType);
See Implementation
True if T is a SumType or implicitly converts to one, otherwise false.