fixed docs

This commit is contained in:
Fabien Potencier
2016-09-21 13:27:56 -07:00
parent cc9e6c41f7
commit 349b0885cd
+2 -4
View File
@@ -1,7 +1,8 @@
``empty``
=========
``empty`` checks if a variable is an empty string, an empty array, an empty hash, exactly ``false``, exactly ``null``:
``empty`` checks if a variable is an empty string, an empty array, an empty
hash, exactly ``false``, or exactly ``null``:
.. code-block:: jinja
@@ -9,6 +10,3 @@
{% if foo is empty %}
...
{% endif %}
.. _Countable: http://php.net/manual/en/class.countable.php
.. _count: http://php.net/manual/en/function.count.php