is that possible to make Int and String to inherit...
# announcements
i
is that possible to make Int and String to inherit an interface?
🚫 1
🙅‍♀️ 4
d
how about inline classes?
Copy code
interface HelloWorld
inline class HelloWorldString(val value: String) : HelloWorld
inline class HelloWorldInt(val value: Int) : HelloWorld