Open alshdavid opened 1 month ago
Hi all,
Please close this issue if this is already possible - it doesn't seem to work currently
When using an if statement, an else block must be present
if
foo myarg: echo {{ if myarg != "" { "myarg is present" } else { "" } }}
Would it be possible to default to "" is an else block is omitted?
""
else
foo myarg: echo {{ if myarg != "" { "myarg is present" } }}
Thanks!
Hi all,
Please close this issue if this is already possible - it doesn't seem to work currently
When using an
if
statement, an else block must be presentWould it be possible to default to
""
is anelse
block is omitted?Thanks!