Join Slack
Powered by
I have a lambda parameter that I want to be option...
# getting-started
r
rharter
03/10/2017, 2:52 PM
I have a lambda parameter that I want to be optional. I seem to be missing something with the syntax.
Copy code
private val onFinishListener: (() -> Unit?)? = {-> null}
Open in Slack
Previous
Next