Join Slack
Powered by
if I need to pass along a lambda of type `(Foo) -&...
# announcements
s
Shawn
06/08/2018, 6:41 AM
if I need to pass along a lambda of type
(Foo) -> Unit
and I end with a
?.let { … }
call, the compiler will interpret that last line as the lambda returning
Unit?
rather than
Unit
Open in Slack
Previous
Next