Function returns interface
unknown
kotlin
3 years ago
165 B
2
Indexable
interface AInterface{} fun interfaceReturningFunction(): Type { return AInterface // ! - not AClass() or AInterface(), but only class name, without parenthesis. }
Editor is loading...