Join Slack
Powered by
The first code is basically: ```if (x != null) { ...
# getting-started
k
karelpeeters
05/06/2018, 12:35 PM
The first code is basically:
Copy code
if (x != null) { print(x.foo) }
The run one compiles to:
Copy code
val y = x if (y != null) { print(y.foo) }
Open in Slack
Previous
Next