1. ```fun foo(bar : (String) -> Unit) ``` 2....
# detekt
z
1.
Copy code
fun foo(bar : (String) -> Unit)
2.
Copy code
fun foo(bar : (name: String) -> Unit)
Hi. I don't know how can i call
name
.. Please give me a keyword lambda property.. lambda description.. anyway If it is
interface
, I think it is better to have
lambda description
. And when I use this function..
Copy code
startSmsUserConsent { name ->
   ...
}
I think it is good to specify
lambda description
. Is there any rule or plan for this?
g
name
in this context is called lambda parameter
z
Awesome 👍 Thank you for quick response
g
Detekt has something similar but it works in the opposite way: https://detekt.github.io/detekt/style.html#explicititlambdaparameter