# AND

## Overview

![The And Node.](/files/sGokiI2Sjfd4ml2cADHK)

**AND** is a *logical operator* **Node**, which combines two or more **Boolean** expressions to yield a **Boolean** value, based on the inputs' logical relationship to one another. The **Node** outputs a *true* value if *all* of its inputs are also *true*. This is the equivalent of the `&&` operator in computer programming.

| Input 1 | Input 2 | Output |
| ------- | ------- | ------ |
| True    | True    | True   |
| True    | False   | False  |
| False   | True    | False  |
| False   | False   | False  |

## Attributes

| Attribute | Type    | Description                                                                                                     |
| --------- | ------- | --------------------------------------------------------------------------------------------------------------- |
| `Count`   | **Int** | The amount of input **Sockets** the **Node** will have (the number of **Boolean** values that will be checked). |

## Inputs

| Input             | Type      | Description                                                           |
| ----------------- | --------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse** | A standard input **Pulse**, to trigger the execution of the **Node**. |
| `Input [n]`       | **Bool**  | The **Boolean** values to be checked.                                 |

## 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. |
| `Output`           | **Bool**  | *True* if *all* of the input **Boolean** values are also *true*. Otherwise *false*.                                                    |

## See Also

* [**Boolean**](/incari-studio/2021.4/toolbox/math/boolean.md)
* [**Flow Control**](/incari-studio/2021.4/toolbox/flow-control.md)

## External Links

* [*Logical operation*](https://www.computerhope.com/jargon/l/logioper.htm) on Computer Hope.


---

# 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.4/toolbox/math/boolean/and.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.
