IFFilter

Read with AI
All docs in one file (llms-full.txt)
IFFilter #Operation #Node
IFFilter

Compares Value A and Value B, and outputs to True Output and True Trigger if the condition holds, or to False Output and False Trigger if it does not. The kind of comparison is chosen from the dropdown on the node: > < == != >= <= (default >).

  • The evaluation runs on a change in A, a change in B, the Trigger input, or a change of condition
  • == / != compare floating-point numbers, so they test for approximate rather than exact equality
  • Value A / Value B / Trigger accept values typed directly next to the port

Both the True and the False output carry “the value of A”. B is only used for the comparison, so you cannot get behavior like “output B when the condition is met”. To swap out the value itself, use Switch.

Input ports

Port IDType
Value Afloat
Value Bfloat
Triggertrigger

Output ports

Port IDType
True Outputfloat
False Outputfloat
True Triggertrigger
False Triggertrigger

Scriptable members

PathType
floatInputAfloat
floatInputBfloat
currentValueAfloat
currentValueBfloat

Synapse Apps (scripting)

await synapse.modules.create({ type: "IFFilter" })

Pages linking here

Also referenced from