poohbar
02/20/2021, 8:03 PMT -> T and T? -> T?edrd
02/20/2021, 8:12 PMT? so if your function is fun <T> foo(bar: T): T and you call it as foo<Int?>(3) the return type will be of type Int?.poohbar
02/20/2021, 8:21 PMInt and Int??edrd
02/20/2021, 8:22 PMfun <T : Int?> ...poohbar
02/20/2021, 8:22 PM