Where the type can be one or the other?
# announcements
r
Where the type can be one or the other?
p
redrield: If you just need two upper bounds, it's possible and is described at the bottom of the page http://kotlinlang.org/docs/reference/generics.html#generic-constraints . Union types (one or the other) are not supported in kotlin.