Join Slack
Powered by
hmm... I suppose I could do that, but when might f...
# getting-started
x
xenoterracide
12/21/2017, 10:17 AM
hmm... I suppose I could do that, but when might fit better.. however
Copy code
when { x == 2 -> doThing() x.isEven() -> doOtherThing() }
if x is 2 will it call both doThing() and doOtherThing()?
Open in Slack
Previous
Next