Join Slack
Powered by
Hi! I don't understand this example from reference...
# announcements
d
dimsuz
02/17/2017, 12:27 PM
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?
Open in Slack
Previous
Next