> ## Documentation Index
> Fetch the complete documentation index at: https://reportana.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Comparisons

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:*

```twig theme={null}
{% if 'apple' == 'apple' %}
  {# Returns true #}
{% endif %}
```

`===`: Checks if two values are identical, meaning they are equal and of the same type.

*Example of use:*

```twig theme={null}
{% if 123 === 123 %}
  {# Returns true #}
{% endif %}
```

`!=`: Checks if two values are different.

*Example of use:*

```twig theme={null}
{% if 'apple' != 'orange' %}
  {# Returns true #}
{% endif %}
```

`<`: Checks if the value on the left is less than the value on the right.

*Example of use:*

```twig theme={null}
{% if 3 < 5 %}
  {# Returns true #}
{% endif %}
```

`>`: Checks if the value on the left is greater than the value on the right.

*Example of use:*

```twig theme={null}
{% 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:*

```twig theme={null}
{% 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:*

```twig theme={null}
{% if 5 >= 3 %}
{# Returns true #}
{% endif %}
```
