Fork me on GitHub

is

is

The is operator will apply a test to a variable which will return a boolean.

{% if 2 is even %}
	...
{% endif %}

The result can be negated using the not operator.