Join Slack
Powered by
it: implicit name of a single parameter One other...
# getting-started
m
mohita
07/21/2017, 9:27 AM
it: implicit name of a single parameter One other helpful convention is that if a function literal has only one parameter, its declaration may be omitted (along with the ->), and its name will be it: ints.map { it * 2 }
4
Views
Open in Slack
Previous
Next