Helper to imitate the ternary '?:' conditional operator.
Satisfying condition for getting first value. Either true of false.
First value to be displayed as result..
Second value to be displayed as result. Defaults to an empty string.
Returns the result of the ternary operator.
{{ifx true val1 val2}}{{ifx false val1 val2}}{{ifx (eq val1 val2) val3 val4}}{{ifx (not (eq val1 val2)) val3 val4}}{{ifx true val}}{{ifx false val}} Copy
{{ifx true val1 val2}}{{ifx false val1 val2}}{{ifx (eq val1 val2) val3 val4}}{{ifx (not (eq val1 val2)) val3 val4}}{{ifx true val}}{{ifx false val}}
Helper to imitate the ternary '?:' conditional operator.