getUpperBound

@Nullable
open fun getUpperBound(): TypeOf<out Any>(source)

Returns the first declared upper-bound of the wildcard type expression represented by this type.

Return

null if no upper-bound has been explicitly declared.