In Kotlin, can a function return either String or Int?

See this thread for the discussion about union types: Union types

1 Like