1``same as`` 2=========== 3 4.. versionadded:: 1.14.2 5 The ``same as`` test was added in Twig 1.14.2 as an alias for ``sameas``. 6 7``same as`` checks if a variable is the same as another variable. 8This is the equivalent to ``===`` in PHP: 9 10.. code-block:: jinja 11 12 {% if foo.attribute is same as(false) %} 13 the foo attribute really is the 'false' PHP value 14 {% endif %} 15