# Logic::And
AND logic block
Logic::And
I1
I2
I3
I4
O
# Inputs
| ID | Abbrev | Name | Type | Default | Description |
|---|---|---|---|---|---|
input_1 | I1 | Input #1 | BOOLEAN | true | Input #1 |
input_2 | I2 | Input #2 | BOOLEAN | true | Input #2 |
input_3 | I3 | Input #3 | BOOLEAN | true | Input #3 |
input_4 | I4 | Input #4 | BOOLEAN | true | Input #4 |
# Outputs
| ID | Abbrev | Name | Type | Default | Description |
|---|---|---|---|---|---|
output | O | Output | BOOLEAN | true | Output |
# Source Code
View Volang source
i1 = input::get("input_1")
i2 = input::get("input_2")
i3 = input::get("input_3")
i4 = input::get("input_4")
output::set("output", i1 and i2 and i3 and i4)
