Join Slack
Powered by
I didn’t think ?.let returned a value?
# announcements
x
xenoterracide
06/05/2019, 4:51 PM
I didn’t think ?.let returned a value?
r
Ruckus
06/05/2019, 4:51 PM
You may want to check this out:
https://medium.com/@elye.project/mastering-kotlin-standard-functions-run-with-let-also-and-apply-9cd334b0ef84
r
rook
06/05/2019, 4:53 PM
Just as a quick example:
someString?.let{ it.length }
evaluates to
Int?
✔️ 1
x
xenoterracide
06/05/2019, 5:04 PM
👍
Open in Slack
Previous
Next