reflect.union.new
Constructs the canonical union of `types`.
Reference version
Signature
function reflect.union.new(
types: reflect.Type[]
Constructs the canonical union of types.
Throws
reflect.errors.CompilationErrorif the members cannot form a union.
Source:<builtin>/reflect/ns_union/union.bamlbytes 158–263