# Assert

## Overview

![The Assert Node.](/files/EGARetmDCq2Fv3pWasNT)

The **Assert** **Node** compares two values and outputs the result of the comparison as a **Boolean**. The **Data Type** of the values to be compared can be chosen on the **Attributes**.

## Attributes

### Inputs

| Attribute   | Type                                         | Description                                                                       |
| ----------- | -------------------------------------------- | --------------------------------------------------------------------------------- |
| `Data Type` | **Drop-down**                                | The **Data Type** of the two values that will be compared.                        |
| `Operator`  | **Drop-down**                                | The operation that will be used to compare the values.                            |
| `Default A` | *Defined in the `Data Type`* ***Attribute*** | The default value of `A`, if none is given in the **Input Socket**.               |
| `Default B` | *Defined in the `Data Type`* ***Attribute*** | The default value of `B`, if none is given in the **Input Socket**.               |
| `Label`     | **String**                                   | Message that will be printed on the **Console** along with the comparison result. |

## 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*** | First value to compare.                                               |
| `B`               | *Defined in the `Data Type`* ***Attribute*** | Second value to compare.                                              |

## 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**  | Result of the comparison.                                                                                                              |


---

# 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/2021.5/toolbox/development/assert.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.
