]> git.immae.eu Git - github/wallabag/wallabag.git/blame - vendor/twig/twig/doc/tests/sameas.rst
gitignore vendor
[github/wallabag/wallabag.git] / vendor / twig / twig / doc / tests / sameas.rst
CommitLineData
4f5b44bd
NL
1``sameas``
2==========
3
4``sameas`` checks if a variable points to the same memory address than another
5variable:
6
7.. code-block:: jinja
8
9 {% if foo.attribute is sameas(false) %}
10 the foo attribute really is the ``false`` PHP value
11 {% endif %}