empty
Found a typo or an error? Open a ticket.
Need support or have a technical question? Post to the user mailing-list.
empty checks if a variable is empty:
{# evaluates to true if the foo variable is null, false, or the empty string #} {% if foo is empty %} ... {% endif %}