Logic
| Node | Description | Inputs | Outputs |
|---|---|---|---|
| and | Returns true if both a and b are true. | a Boolean, b Boolean | result Boolean |
| branch | Returns if_true or if_false based on condition. | condition Boolean, if_true Any, if_false Any | result Any |
| coalesce | Returns the first non-null value. | a Any, b Any, c Any | result Any |
| compare | Compares two values with a configurable operator. | a Any, b Any, operator Text | result Boolean |
| equal | Returns true if a equals b. | a Any, b Any | result Boolean |
| gate | Passes a value through only when a condition is true. | value Any, condition Boolean | result Any |
| greater | Returns true if a is greater than b. | a Number, b Number | result Boolean |
| greater_equal | Returns true if a is greater than or equal to b. | a Number, b Number | result Boolean |
| is_null | Returns true if the input is null or undefined. | value Any | result Boolean |
| less | Returns true if a is less than b. | a Number, b Number | result Boolean |
| less_equal | Returns true if a is less than or equal to b. | a Number, b Number | result Boolean |
| not | Returns the logical NOT of the input. | value Boolean | result Boolean |
| not_equal | Returns true if a does not equal b. | a Any, b Any | result Boolean |
| or | Returns true if either a or b is true. | a Boolean, b Boolean | result Boolean |
| select | Chooses an input by index. | index Number, input_0 Any, input_1 Any, input_2 Any, input_3 Any | result Any |
| switch | Routes a value based on matching a key against multiple options. | key Any, case_1 Any, value_1 Any, case_2 Any, value_2 Any, case_3 Any, value_3 Any, default Any | result Any |
| xor | Returns true if exactly one of a or b is true. | a Boolean, b Boolean | result Boolean |
and
Returns true if both a and b are true.
Inputs:
a(Boolean) — first conditionb(Boolean) — second condition
Output: result (Boolean) — true if both are true
branch
Returns if_true or if_false based on condition.
Inputs:
condition(Boolean) — boolean to evaluateif_true(Any) — returned when condition is trueif_false(Any) — returned when condition is false
Output: result (Any) — selected branch value
Example: condition = true, if_false = no, if_true = yes → yes
coalesce
Returns the first non-null value.
Inputs:
a(Any) — first candidateb(Any) — second candidatec(Any) — third candidate
Output: result (Any) — first non-null value
Example: a = null, b = fallback → fallback
compare
Compares two values with a configurable operator.
Inputs:
a(Any) — left operandb(Any) — right operandoperator(Text) — ==, !=, <, >, <=, or >=
Output: result (Boolean) — comparison result
Example: a = 3, b = 5, operator = < → true
Example: a = x, b = y, operator = != → true
See also: equal, greater, less
equal
Returns true if a equals b.
Inputs:
a(Any) — first value to compareb(Any) — second value to compare
Output: result (Boolean) — true if a strictly equals b
gate
Passes a value through only when a condition is true.
Inputs:
value(Any) — value to pass throughcondition(Boolean) — gate opens when true
Output: result (Any) — value if open, null if closed
Example: condition = true, value = 42 → 42
Example: condition = false, value = 42 → null
greater
Returns true if a is greater than b.
Inputs:
a(Number) — left-hand valueb(Number) — right-hand value
Output: result (Boolean) — true if a > b
greater_equal
Returns true if a is greater than or equal to b.
Inputs:
a(Number) — left-hand valueb(Number) — right-hand value
Output: result (Boolean) — true if a >= b
is_null
Returns true if the input is null or undefined.
Inputs:
value(Any) — value to test
Output: result (Boolean) — true if null or undefined
less
Returns true if a is less than b.
Inputs:
a(Number) — left-hand valueb(Number) — right-hand value
Output: result (Boolean) — true if a < b
less_equal
Returns true if a is less than or equal to b.
Inputs:
a(Number) — left-hand valueb(Number) — right-hand value
Output: result (Boolean) — true if a <= b
not
Returns the logical NOT of the input.
Inputs:
value(Boolean) — boolean to invert
Output: result (Boolean) — inverted boolean
not_equal
Returns true if a does not equal b.
Inputs:
a(Any) — first value to compareb(Any) — second value to compare
Output: result (Boolean) — true if a !== b
or
Returns true if either a or b is true.
Inputs:
a(Boolean) — first conditionb(Boolean) — second condition
Output: result (Boolean) — true if either is true
select
Chooses an input by index.
Inputs:
index(Number) — 0-based index selecting which input to outputinput_0(Any) — value when index is 0input_1(Any) — value when index is 1input_2(Any) — value when index is 2input_3(Any) — value when index is 3
Output: result (Any) — the selected input value
Example: index = 1, input_0 = a, input_1 = b → b
switch
Routes a value based on matching a key against multiple options.
Inputs:
key(Any) — value to match against casescase_1(Any) — first case to matchvalue_1(Any) — output if key matches case_1case_2(Any) — second case to matchvalue_2(Any) — output if key matches case_2case_3(Any) — third case to matchvalue_3(Any) — output if key matches case_3default(Any) — output if no case matches
Output: result (Any) — matched value or default
Example: case_1 = a, case_2 = b, key = b, value_1 = 1, value_2 = 2 → 2
xor
Returns true if exactly one of a or b is true.
Inputs:
a(Boolean) — first conditionb(Boolean) — second condition
Output: result (Boolean) — true if exactly one is true