Does Motoko support a ternary operator?
var condition = false; condition ? "I am true" : "I am false";
but I get
syntax error, unexpected token '?', expected one of token or <phrase> sequence: ...
If there is no ternary operator, is there a concise way to accomplish inline switching like this?