gate
Name | Type | Description | Optional |
---|---|---|---|
condition |
?0 |
interpreted as bool, used to select output |
no |
Name | Type | Description | Optional |
---|---|---|---|
outputT |
bool |
outputs true if condition is true, and false otherwise |
yes |
outputF |
bool |
outputs false if condition is true, and true otherwise |
yes |
gate
sends true
out of its selected output, and false
out of the other output. The selector is the boolean value of its sole input. If its input value is true
, gate
sends true
from its top output (outputT
) and false
from its bottom output (outputF
). If its input value is false, it sends false from its top output and `true
from its bottom output.