Join Slack
Powered by
Is it possible to create a generic type parameter ...
# announcements
l
LeoColman
11/07/2019, 3:34 PM
Is it possible to create a generic type parameter that has a default, to help the compiler?
Copy code
fun <T = Any> foo(...)
doesn't quite work
🚫 1
7
Views
Open in Slack
Previous
Next