# Is Greater Equal

## Overview

![](/files/XfxKuZc9V45uTZkBuAYa)

**IsGreaterEqual** is a **Relational Expression Node**, which compares two **Input Values**, and returns a **Boolean**, based on whether or not the **Value** of **Input** `A` is greater than **Input** `B`. If it is, the returned **Value** will be *true*, and if not, it will return *false*.

Depending on the setting in the `Mode` **Attribute**, the **Node** may also return *true* if the **Values** are equal.

Because the **IsGreaterEqual** and **IsLessEqual** compare the difference in **Value**, these **Nodes** can only be used with **Numerical Types**.

**Relational Expressions** are frequently used alongside **Branch Nodes** and **Logical Operator Nodes** to manipulate the flow of logic and are essential when building any complex applications.

## Attributes

| Attribute   | Type          | Description                                                                                                           |
| ----------- | ------------- | --------------------------------------------------------------------------------------------------------------------- |
| `Data Type` | **Drop-down** | The type of data that will be plugged into the `A` and `B` **Sockets**.                                               |
| `Mode`      | **Drop-down** | Determines whether equal **Values** will return *true* (`IsGreaterEqual`), or they will return *false* (`IsGreater`). |

## Inputs

| Input             | Type                                          | Description                                                           |
| ----------------- | --------------------------------------------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**                                     | A standard **Input Pulse**, to trigger the execution of the **Node**. |
| `A`               | *Defined in the* `Data Type` ***Attribute**.* | The **Value** to be compared with `B`.                                |
| `B`               | *Defined in the* `Data Type` ***Attribute**.* | The **Value** to be compared with `A`.                                |

## Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |
| `C`                | **Bool**  | Returns *true* if `A` is greater (or equal, depending on `Mode`) than `B`. If not, then it returns *false*.                            |

## Examples

Below, in the top two examples, we can see the difference between the `IsGreaterEqual` and `IsGreater` modes and how even small differences in **Value** affect the outcome of the evaluation.

|                  |     |          |         |
| ---------------- | --- | -------- | ------- |
| `Mode`           | `A` | `B`      | `C`     |
| `IsGreater`      | 123 | 123      | *False* |
| `IsGreaterEqual` | 123 | 123      | *True*  |
| `IsGreater`      | 384 | 384.0001 | *False* |
| `IsGreater`      | 365 | 180      | *True*  |

## External Links

[*Relational operator*](https://en.wikipedia.org/wiki/Relational_operator) on Wikipedia.


---

# 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://docs.incari.com/incari-studio/master/toolbox/flow-control/isgreaterequal.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.
