https://kotlinlang.org logo
#announcements
Title
# announcements
p

poohbar

10/22/2017, 3:24 PM
can a getter return a different type than what the underlying field has? e.g. I have a field of type
Double?
but I want to expose it as
Double
because I know it can't be null