And
The And component performs a logical AND on all inputs and writes the result to the out property. The first table below shows the AND object truth table if using two inputs. The second table below shows the AND object truth table if using all four inputs.
Slots
The And component has the following slots:
- Status: shows the component's status;
- Out: the output slot with the outcome of the and operation;
- InA-InD: input slots.
In A | In B | Out |
---|---|---|
False | False | False |
False | True | False |
True | False | False |
True | True | True |
In A | In B | In C | In D | Out |
---|---|---|---|---|
False | False | False | False | False |
False | False | False | True | False |
False | False | True | False | False |
False | False | True | True | False |
False | True | False | False | False |
False | True | False | True | False |
False | True | True | False | False |
False | True | True | True | False |
True | False | False | False | False |
True | False | False | True | False |
True | False | True | False | False |
True | False | True | True | False |
True | True | False | False | False |
True | True | False | True | False |
True | True | True | False | False |
True | True | True | True | True |