sameas.rst 256B

123456789101112
  1. ``sameas``
  2. ==========
  3. ``sameas`` checks if a variable points to the same memory address than another
  4. variable:
  5. .. code-block:: jinja
  6. {% if foo.attribute is sameas(false) %}
  7. the foo attribute really is the ``false`` PHP value
  8. {% endif %}