is there a way to define that a type parameter sha...
# announcements
r
is there a way to define that a type parameter shall not be nullable in certain cases? Somehow the opposite of adding
?
to a type parameter. Something like
Copy code
class A<T>{ fun <T2> foo() where T2 : T, T2 not nullable }