Join Slack
Communities
Powered by
Created that real quick, hope it helps... <https:/...
# getting-started
a
Aregev2
07/17/2018, 12:34 PM
Created that real quick, hope it helps...
https://gist.github.com/AregevDev/a848edce3d11a40852f5abbfdb45a700
n
Nikky
07/17/2018, 1:14 PM
does let return Unit ? iirc it returns the same as the lambda parameter iirc you can do
val a = b?.let { b * 2 }
docs say it is
inline fun <T, R> T.let(block: (T) -> R): R
Open in Slack
Previous
Next