declare type numOrString = string | number
union SearchResult = Human | Droid | Starship
union Foo
{
int x;
float f;
struct
{
char[2] z;
}
}
Languages with Union Types include TypeScript, GraphQL, C3, C2
Read more about Union Types on the web: 1.
HTML of this page generated by Features.ts