even
The even test checks to see if the value of the variable is a number and is even.
{% if var is even %}
...
{% endif %}
The even test checks to see if the value of the variable is a number and is even.
{% if var is even %}
...
{% endif %}