commonSupertype¶
context(session: KaSession)
val Iterable<KaType>.commonSupertype: KaType
The common supertype of the given KaTypes.
Throws¶
IllegalArgumentException-
If the collection of types is empty.
context(session: KaSession)
val Array<KaType>.commonSupertype: KaType
The common supertype of the given KaTypes.
Throws¶
IllegalArgumentException-
If the array of types is empty.