diff options
Diffstat (limited to 'vendor/twig/twig/doc/tests/null.rst')
-rw-r--r-- | vendor/twig/twig/doc/tests/null.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/twig/twig/doc/tests/null.rst b/vendor/twig/twig/doc/tests/null.rst new file mode 100644 index 00000000..44eec62e --- /dev/null +++ b/vendor/twig/twig/doc/tests/null.rst | |||
@@ -0,0 +1,12 @@ | |||
1 | ``null`` | ||
2 | ======== | ||
3 | |||
4 | ``null`` returns ``true`` if the variable is ``null``: | ||
5 | |||
6 | .. code-block:: jinja | ||
7 | |||
8 | {{ var is null }} | ||
9 | |||
10 | .. note:: | ||
11 | |||
12 | ``none`` is an alias for ``null``. | ||