Join Slack
Powered by
Does kotlin have a null type? Can I express this i...
# announcements
k
karelpeeters
09/10/2017, 2:21 PM
Does kotlin have a null type? Can I express this in Kotlin?
fun foo(): null = null
I can't really think of a use case, I was just wondering.
d
diesieben07
09/10/2017, 2:39 PM
Nothing?
only has one value:
null
.
k
karelpeeters
09/10/2017, 2:39 PM
Ah, interesting.
Open in Slack
Previous
Next