A condition is represented by the if keyword:
if
let a = 10 if a > 5 then print "a is bigger than 5" else print "a is small"
In LENS, the condition statement can be used as an expression:
var stmt = if a > 5 then "bigger" else "smaller"
When used as an expression, the condition must fulfill the following requirements:
else
There was an error while loading. Please reload this page.