third_party/closure-compiler/src/src/com/google/javascript/rhino/jstype/JSTypeRegistry.java
/**
   * Creates a union type whose variants are the built-in types specified
   * by the arguments.
   */
Creates a union type whose variants are the built-in types specified
by the arguments.
Creates a union type whose variants are the built - in types specified by the arguments .
public JSType createUnionType(JSTypeNative... variants) {
    UnionType.Builder builder = UnionType.builder(this);
    for (JSTypeNative type : variants) {
      builder.addAlternate(getNativeType(type));
    }
    return builder.build();
  }
public JSType createUnionType ( JSTypeNative ... variants ) { UnionType . Builder builder = UnionType . builder ( this ) ; for ( JSTypeNative type : variants ) { builder . addAlternate ( getNativeType ( type ) ) ; } return builder . build ( ) ; }
Creates a union type whose variants are the built-in types specified
 by the arguments.
Creates a union type whose variants are the built - in types specified by the arguments .