Skip to content

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

ParameterParameterValid BlocksRequired
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