one_of library

supports holding a single value that can have multiple types using OneOf and its static methods

Classes

OneOf
OneOf1<T0>
OneOf2<T0, T1>
OneOf3<T0, T1, T2>
OneOf4<T0, T1, T2, T3>
OneOf5<T0, T1, T2, T3, T4>
OneOf6<T0, T1, T2, T3, T4, T5>
OneOf7<T0, T1, T2, T3, T4, T5, T6>
OneOfDynamic