Node catalog: nodes-logic
8 nodes. Generated by scripts/gen-node-catalog.mjs from packages/nodes-logic/src/install.ts.
Slot types such as number, string and boolean are regular data ports, while event marks an action port. Widgets are interactive controls drawn inside a node; properties are serialized with the graph.
logic/and — AND
Return true if all inputs are true
- Inputs:
a: boolean,b: boolean - Outputs:
out: boolean - Source: LogicAnd.ts
logic/branch — Branch
Branch execution on condition
- Inputs:
onTrigger: action,condition: boolean - Outputs:
true: event,false: event - Source: LogicBranch.ts
logic/compare — Compare
Compare for logical equality
- Inputs:
a: boolean,b: boolean - Outputs:
out: boolean - Source: LogicCompare.ts
logic/not — NOT
Return the logical negation
- Inputs:
in: boolean - Outputs:
out: boolean - Source: LogicNot.ts
logic/or — OR
Return true if at least one input is true
- Inputs:
a: boolean,b: boolean - Outputs:
out: boolean - Source: LogicOr.ts
logic/selector — Selector
selects an output
- Inputs:
sel: number,A: any,B: any,C: any,D: any - Outputs:
out: any - Source: Selector.ts
logic/sequence — Sequence
select one element from a sequence from a string
- Inputs:
index: number,seq: * - Outputs:
out: * - Source: Sequence.ts
logic/truthy — ~= TRUE
Returns true if input is truthy
- Inputs:
in: * - Outputs:
truthy: boolean - Source: LogicTruthy.ts