blob: c09297114bb6e3b50d72a64ee36974e40d651465 [file] [log] [blame]
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +01001``same as``
2===========
3
4``same as`` checks if a variable is the same as another variable.
5This is equivalent to ``===`` in PHP:
6
7.. code-block:: twig
8
9 {% if foo.attribute is same as(false) %}
10 the foo attribute really is the 'false' PHP value
11 {% endif %}