How i can check random $variable for non-empty/existing?
What about if variable will not passed from application?
For example, random .ftl file:
that_string =
{ $username ->
[what i need to pass there?] Hello! ### - if $username is empty
*[other] Hello, { $username }!
}.
I need to check $username for existance inside FTL syntax.
How it’s possible?