SumType.typeIndex

Returns the index of the type of the SumType's current value in the SumType's Types.

If the SumType is qualified, returns the index of the type in Types whose qualified version matches the SumType's current value.

struct SumType(Types...)
const
size_t
typeIndex
()
if (
is(NoDuplicates!Types == Types) &&
)

Meta