https://kotlinlang.org logo
t

todd.ginsberg

10/16/2017, 6:55 PM
FWIW, you can rely in
it
as the default in that case where there is one parameter:
Copy code
val myFunc: (firstParameter: String) -> Unit = {
        it.reversed()
}