mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 10:56:38 +00:00
12 lines
256 B
ReStructuredText
12 lines
256 B
ReStructuredText
``sameas``
|
|
==========
|
|
|
|
``sameas`` checks if a variable points to the same memory address than another
|
|
variable:
|
|
|
|
.. code-block:: jinja
|
|
|
|
{% if foo.attribute is sameas(false) %}
|
|
the foo attribute really is the ``false`` PHP value
|
|
{% endif %}
|