Syntax:
( | )
Example:
var x : (int|Date); // x is either an int or a Date x = 17; //OK x = new Date(); //OK x = "hello"; //ERROR
An union type is nullable if just one of the ingredients is nullable. For example, in the code above x is nullable because Date is a nullable type.
