Join Slack
Powered by
How can I specify that a generic parameter both ex...
# announcements
n
nickk
10/18/2017, 12:13 PM
How can I specify that a generic parameter both extends a class AND implements an interface? This is interpreted at two separate parameters:
inline fun <reified E : RealmObject, ObjectWithId> lookupRealmObject(...)
Open in Slack
Previous
Next