Join Slack
Powered by
I want to write `x = if (flag) lambda else null`, ...
# announcements
d
Dalinar
07/03/2017, 7:12 PM
I want to write
x = if (flag) lambda else null
, where
x:Callback?
Callback is
typealias Callback = () -> Unit
- I'm having difficult figuring out how to insert the lambda. Not as a variable, but "in place"
Open in Slack
Previous
Next