If-Else
Overview
Returns a value based on whether a condition is true. The value of the first true condition in the list will be returned, otherwise an optional default value from the 'else' slot will be returned.
Parameters
Parameter | Parameter | Valid Blocks | Required |
---|---|---|---|
Conditions | The list of conditional branches | Return Condition Block Group | No |
Else | An optional default value to return if none of the conditions is true | Any MJML Component Block Group | No |