Output
A subtype of E elements, which is the common subtype of all inputs.
Example
If you have 2 classes:
class B {}
class A : B {}
... as Item<B> is a subclass of Item<A>, you can
make a union that returns Item<B>.
For example:
-
The union between Person and Company does not work,
because Person is not a subtype of Company, and
Company is not a subtype of Person.
-
The union between core.Item and Person works fine, as
core.Item is a subtype of Person.