Join Slack
Powered by
Well, you're allowed to pass closures as the final...
# getting-started
d
dalexander
02/29/2016, 4:13 PM
Well, you're allowed to pass closures as the final method of an argument like...
somefunc(arg1, arg2) { ...closure here }
if the method is defined as
fun somefunc(a1: Any, a2: Any, a3: () -> Unit)
which is what I think it happening there.
3
Views
Open in Slack
Previous
Next