# Operators

### **Comparison operators**

The following comparison operators can be used in FlowScript. The result of these expressions is always a truth (Boolean) value:

| Expression | Result                                                                                     |
| ---------- | ------------------------------------------------------------------------------------------ |
| `a = b`    | TRUE if a equals b, FALSE if a does not equal B or the types of a and b cannot be compared |
| `a != b`   | TRUE if a does not equal b or the types of a and b cannot be compared, FALSE if a equals b |
| `a > b`    | TRUE if a is greater than b, FALSE otherwise                                               |
| `a < b`    | TRUE if a is less than b, FALSE otherwise                                                  |
| `a >= b`   | TRUE if a is greater than or equal to b, FALSE otherwise                                   |
| `a <= b`   | TRUE if a is less than or equals to b, FALSE otherwise                                     |

### **Logical operators**

The following logical operators can be used in Flow Script. The result of these expressions is always a truth (Boolean) value.

| Expression | Result                                          |
| ---------- | ----------------------------------------------- |
| `a and b`  | TRUE if both a and b are true, FALSE otherwise  |
| `a or b`   | TRUE if either a or b are true, FALSE otherwise |
| `not a`    | TRUE if a is false, FALSE otherwise             |


---

# 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://help.novacuraflow.com/development/flowscript/operators.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.
