We are going to have Unions soon, please have a look at the RFC for Union types.
That may be what you are looking for.
2 Likes
We are going to have Unions soon, please have a look at the RFC for Union types.
That may be what you are looking for.