same as

same as 检查一个变量是否与另一个变量相同。这相当于 === 在PHP中:

1
2
3
{% if foo.attribute is same as(false) %}
    the foo attribute really is the 'false' PHP value
{% endif %}