🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
#``same as`` > Twig 1.14.2加入的 ``same as``,是``sameas``的别名。 ``same as`` checks if a variable is the same as another variable. This is the equivalent to ``===`` in PHP: .. code-block:: jinja {% if foo.attribute is same as(false) %} the foo attribute really is the 'false' PHP value {% endif %}