Skip to content

Deprecation: unless tag

Taylor Hunt edited this page Aug 2, 2019 · 2 revisions

The <unless> tag is deprecated in favor of inverting the expression inside the <if> tag.

<unless(x)>
 x is falsy!
</unless>

…becomes <if> with the unary negation operator (!):

<if(!x)>
 x is falsy!
</if>