> For the complete documentation index, see [llms.txt](https://appmaster.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://appmaster.gitbook.io/docs/business-logic/block/logic/comparison.md).

# Comparison

Compares two values with a certain condition.

{% embed url="<https://youtu.be/djEhh6w-sfQ>" %}

| Block \ Output   | True          | False             |
| ---------------- | ------------- | ----------------- |
| Equal            | A = B         | A ≠ B             |
| Greater          | A > B         | A ≤ B             |
| Greater or Equal | A ≥ B         | A < B             |
| Less             | A < B         | A ≥ B             |
| Less or Equal    | A ≤ B         | A > B             |
| Equal Enum       | A = B         | A ≠ B             |
| Is Null          | Value is Null | Value is not Null |

### Flow Connections <a href="#flow-connections" id="flow-connections"></a>

* \[Input] In - starts the block's execution.
* \[Output] Out - activates when the block has finished its execution.

### Data Connections <a href="#data-connections" id="data-connections"></a>

* \[Input] A (depends on the block) - first value to be evaluated.
* \[Input] B (depends on the block) - second value to be evaluated.
* \[Input, Is Null only] Value (any) - value to be checked for Null.
* \[Output] Result (boolean) - True if the condition is evaluated to be true, otherwise False.
