aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/twig/twig/doc/tests/null.rst
blob: 44eec62e56b07a54855d0737cf8dd3ec927d0212 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
``null``
========

``null`` returns ``true`` if the variable is ``null``:

.. code-block:: jinja

    {{ var is null }}

.. note::

    ``none`` is an alias for ``null``.