subtype Of
Returns a type that represents an unknown type that extends T. For example, if T is CharSequence, this returns out CharSequence
. If T is Any, this returns *
, which is shorthand for out Any?
.
Returns a type that represents an unknown type that extends T. For example, if T is CharSequence, this returns out CharSequence
. If T is Any, this returns *
, which is shorthand for out Any?
.