Join Slack
Powered by
It looks like Unit is a concrete version of Unit (...
# android
t
timp
09/21/2017, 3:18 AM
It looks like Unit is a concrete version of Unit (
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html
). You see that practice a bit in java with the
Void
type, except the
Void
type in java can’t be constructed and so the only valid value is
null
.
Open in Slack
Previous
Next