Join Slack
Powered by
Because `x` is equal to `x == true` :slightly_smil...
# getting-started
m
marstran
11/30/2017, 1:22 PM
Because
x
is equal to
x == true
🙂. You should do this do get what you expect:
Copy code
when (x) { true -> println("$x TRUE") }
Open in Slack
Previous
Next