Kotlin Discussions
Union types
Language Design
elizarov
April 5, 2017, 7:59am
26
I’m even more intrigued now. Assume we have union types. How would it simplify your JSON code, then?
show post in topic
Related topics
Topic
Replies
Views
Activity
Implementing an alternative to union types
1
227
August 20, 2024
How will Kotlin handle Union types from JavaScript/TypeScript?
JavaScript
7
7564
June 16, 2016
Implementation proposal for union types
Language Design
6
1450
August 8, 2018
Feature Request: Union Types in Function Headers ONLY
Language Design
4
849
August 24, 2022
In Kotlin, can a function return either String or Int?
Support
12
24016
February 26, 2020