You need to use the `where` clause: ``` inline fun...
# announcements
m
You need to use the
where
clause:
Copy code
inline fun <reified E> lookupRealmObject(...) 
    where E : RealmObject, 
          E : ObjectWithId { 
        // ...
 }
You can read about it in the docs here: https://kotlinlang.org/docs/reference/generics.html#generic-constraints
👍 1