AsUnion<T> extension
Extensions that transform a value of any type into an union that contains this type.
- on
-
- T
Methods
-
asEighth<
A, B, C, D, E, G, F> () → Union8< A, B, C, D, E, F, G, T> - Transform the object in a union where the object type is the eighth type the union can take.
-
asFifth<
A, B, C, D> () → Union5< A, B, C, D, T> - Transform the object in a union where the object type is the fifth type the union can take.
-
asFirst(
) → Union1< T> - Transform the object in a union where the object type is the first type the union can take.
-
asForth<
A, B, C> () → Union4< A, B, C, T> - Transform the object in a union where the object type is the forth type the union can take.
-
asNinth<
A, B, C, D, E, G, F, H> () → Union9< A, B, C, D, E, F, G, H, T> - Transform the object in a union where the object type is the ninth type the union can take.
-
asSecond<
A> () → Union2< A, T> - Transform the object in a union where the object type is the second type the union can take.
-
asSeventh<
A, B, C, D, E, F> () → Union7< A, B, C, D, E, F, T> - Transform the object in a union where the object type is the seventh type the union can take.
-
asSixth<
A, B, C, D, E> () → Union6< A, B, C, D, E, T> - Transform the object in a union where the object type is the sixth type the union can take.
-
asThird<
A, B> () → Union3< A, B, T> - Transform the object in a union where the object type is the third type the union can take.