]> git.immae.eu Git - github/wallabag/wallabag.git/blob - vendor/twig/twig/doc/tests/sameas.rst
gitignore vendor
[github/wallabag/wallabag.git] / vendor / twig / twig / doc / tests / sameas.rst
1 ``sameas``
2 ==========
3
4 ``sameas`` checks if a variable points to the same memory address than another
5 variable:
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 %}