Comparison operators allow you to check the relationship between two values. Below are the supported operators, with a brief explanation and a practical usage example for each. Currently supported comparison operators: ==: Checks if two values are equal. Example of use:
{% if 'apple' == 'apple' %}
  {# Returns true #}
{% endif %}
===: Checks if two values are identical, meaning they are equal and of the same type. Example of use:
{% if 123 === 123 %}
  {# Returns true #}
{% endif %}
!=: Checks if two values are different. Example of use:
{% if 'apple' != 'orange' %}
  {# Returns true #}
{% endif %}
<: Checks if the value on the left is less than the value on the right. Example of use:
{% if 3 < 5 %}
  {# Returns true #}
{% endif %}
>: Checks if the value on the left is greater than the value on the right. Example of use:
{% if 5 > 3 %}
{# Returns true #}
{% endif %}
<=: Checks if the value on the left is less than or equal to the value on the right. Example of use:
{% if 3 <= 3 %}
{# Returns true #}
{% endif %}
>=: Checks if the value on the left is greater than or equal to the value on the right. Example of use:
{% if 5 >= 3 %}
{# Returns true #}
{% endif %}