Join Slack
Powered by
`a?.b` is a shorthand for `if (a == null) null els...
# announcements
k
karelpeeters
12/02/2017, 9:53 AM
a?.b
is a shorthand for
if (a == null) null else a.b
so the type of
a?.b
is nullable whether b itself was originally nullable or not.
3
Views
Open in Slack
Previous
Next