Closed giann closed 9 months ago
str hello = if (value -> unwrapped) unwrapped.lower() else "nothing";
We can't handle creating a new local while evaluating an expression. And anyway other tools are available to do this in an expression like:
var value = opt ?? "default";
and
var value = opt as? str;