Hi! I don't understand this example from reference...
# announcements
d
Hi! I don't understand this example from reference:
Copy code
when (x) {
    parseInt(s) -> print("s encodes x")
    else -> print("s does not encode x")
}
parseInt(s) is applied to
x
? or how exactly it is related to
x
in this example?