From: Albert Casademont Date: Thu, 19 Jul 2012 11:00:01 +0000 (+0300) Subject: The empty test now also checks for empty arrays X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=c31dd7bccbb0ccf7498b0b95aedc6cebf1cfd304;p=web%2Fkonrad%2Ftwig.git The empty test now also checks for empty arrays --- diff --git a/doc/tests/empty.rst b/doc/tests/empty.rst index 0d1eb32..5ef3035 100644 --- a/doc/tests/empty.rst +++ b/doc/tests/empty.rst @@ -5,7 +5,7 @@ .. code-block:: jinja - {# evaluates to true if the foo variable is null, false, or the empty string #} + {# evaluates to true if the foo variable is null, false, an empty array or the empty string #} {% if foo is empty %} ... {% endif %}