class_unions library

Classes

Union2<X1, X2>
Emulate the union of the types X1 and X2.
Union3<X1, X2, X3>
Emulate the union of the types X1, X2, and X3.
Union4<X1, X2, X3, X4>
Emulate the union of the types X1 .. X4.
Union5<X1, X2, X3, X4, X5>
Emulate the union of the types X1 .. X5.
Union6<X1, X2, X3, X4, X5, X6>
Emulate the union of the types X1 .. X6.
Union7<X1, X2, X3, X4, X5, X6, X7>
Emulate the union of the types X1 .. X7.
Union8<X1, X2, X3, X4, X5, X6, X7, X8>
Emulate the union of the types X1 .. X8.
Union9<X1, X2, X3, X4, X5, X6, X7, X8, X9>
Emulate the union of the types X1 .. X9.

Extensions

UnionInjectExtension on X
Extension on any type that allows it to be coerced to a union type.