Join Slack
Powered by
Thanks for the answers, I think I will stick with ...
# getting-started
t
tulio
06/12/2017, 4:22 PM
Thanks for the answers, I think I will stick with the
if
version 🙂
👍 1
e
emmax
06/12/2017, 9:04 PM
tulio: Is doSomething() returning a value? If not you could just say value?.doSomething() without the
let
or
if
, it will only execute the doSomething if value is not null or otherwise move on.
2
Views
Open in Slack
Previous
Next