Because `x` is equal to `x == true` :slightly_smil...
# getting-started
m
Because
x
is equal to
x == true
🙂. You should do this do get what you expect:
Copy code
when (x) {
    true -> println("$x TRUE")
}