Logic

NodeDescriptionInputsOutputs
andReturns true if both a and b are true.a Boolean, b Booleanresult Boolean
branchReturns if_true or if_false based on condition.condition Boolean, if_true Any, if_false Anyresult Any
coalesceReturns the first non-null value.a Any, b Any, c Anyresult Any
compareCompares two values with a configurable operator.a Any, b Any, operator Textresult Boolean
equalReturns true if a equals b.a Any, b Anyresult Boolean
gatePasses a value through only when a condition is true.value Any, condition Booleanresult Any
greaterReturns true if a is greater than b.a Number, b Numberresult Boolean
greater_equalReturns true if a is greater than or equal to b.a Number, b Numberresult Boolean
is_nullReturns true if the input is null or undefined.value Anyresult Boolean
lessReturns true if a is less than b.a Number, b Numberresult Boolean
less_equalReturns true if a is less than or equal to b.a Number, b Numberresult Boolean
notReturns the logical NOT of the input.value Booleanresult Boolean
not_equalReturns true if a does not equal b.a Any, b Anyresult Boolean
orReturns true if either a or b is true.a Boolean, b Booleanresult Boolean
selectChooses an input by index.index Number, input_0 Any, input_1 Any, input_2 Any, input_3 Anyresult Any
switchRoutes 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 Anyresult Any
xorReturns true if exactly one of a or b is true.a Boolean, b Booleanresult Boolean

and

Returns true if both a and b are true.

Inputs:

Output: result (Boolean) — true if both are true

branch

Returns if_true or if_false based on condition.

Inputs:

Output: result (Any) — selected branch value

Example: condition = true, if_false = no, if_true = yesyes

See also: switch, coalesce

coalesce

Returns the first non-null value.

Inputs:

Output: result (Any) — first non-null value

Example: a = null, b = fallbackfallback

See also: is_null, branch

compare

Compares two values with a configurable operator.

Inputs:

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:

Output: result (Boolean) — true if a strictly equals b

gate

Passes a value through only when a condition is true.

Inputs:

Output: result (Any) — value if open, null if closed

Example: condition = true, value = 4242 Example: condition = false, value = 42null

See also: branch, is_null

greater

Returns true if a is greater than b.

Inputs:

Output: result (Boolean) — true if a > b

greater_equal

Returns true if a is greater than or equal to b.

Inputs:

Output: result (Boolean) — true if a >= b

is_null

Returns true if the input is null or undefined.

Inputs:

Output: result (Boolean) — true if null or undefined

less

Returns true if a is less than b.

Inputs:

Output: result (Boolean) — true if a < b

less_equal

Returns true if a is less than or equal to b.

Inputs:

Output: result (Boolean) — true if a <= b

not

Returns the logical NOT of the input.

Inputs:

Output: result (Boolean) — inverted boolean

not_equal

Returns true if a does not equal b.

Inputs:

Output: result (Boolean) — true if a !== b

or

Returns true if either a or b is true.

Inputs:

Output: result (Boolean) — true if either is true

select

Chooses an input by index.

Inputs:

Output: result (Any) — the selected input value

Example: index = 1, input_0 = a, input_1 = bb

See also: switch, branch

switch

Routes a value based on matching a key against multiple options.

Inputs:

Output: result (Any) — matched value or default

Example: case_1 = a, case_2 = b, key = b, value_1 = 1, value_2 = 22

See also: branch, coalesce

xor

Returns true if exactly one of a or b is true.

Inputs:

Output: result (Boolean) — true if exactly one is true