mirror of
https://github.com/Cacti/cacti.git
synced 2026-12-02 13:18:12 +09:00
including for now. usage later. its heavy and there is a C extension that may make it optional too.
12 lines
240 B
ReStructuredText
12 lines
240 B
ReStructuredText
``empty``
|
|
=========
|
|
|
|
``empty`` checks if a variable is empty:
|
|
|
|
.. code-block:: jinja
|
|
|
|
{# evaluates to true if the foo variable is null, false, an empty array, or the empty string #}
|
|
{% if foo is empty %}
|
|
...
|
|
{% endif %}
|