You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
``empty``
|
|
=========
|
|
|
|
``empty`` checks if a variable is empty:
|
|
|
|
.. code-block:: jinja
|
|
|
|
{# evaluates to true if the foo variable is null, false, or the empty string #}
|
|
{% if foo is empty %}
|
|
...
|
|
{% endif %}
|
|
|