# Comparison

ufLang supports the following binary comparison operators:

| **Operator** | **Name**         | **Description**                                                                   | **Example** |
| ------------ | ---------------- | --------------------------------------------------------------------------------- | ----------- |
| `==`         | Equal            | Returns `true` if the left operand is equal to the right operand.                 | `x == 5`    |
| `!=`         | Not equal        | Returns `true` if the left operand is not equal to the right operand.             | `x != 3`    |
| `>`          | Greater          | Returns `true` if the left operand is greater than the right operand.             | `x > 2`     |
| `<`          | Less             | Returns `true` if the left operand is less than the right operand.                | `x < 10`    |
| `>=`         | Greater or equal | Returns `true` if the left operand is greater than or equal to the right operand. | `x >= 7`    |
| `<=`         | Less or equal    | Returns `true` if the left operand is less than or equal to the right operand.    | `x <= 8`    |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://glados-6.gitbook.io/glados-uflang/operators/comparison.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
