Skip to main content

Equal

This node compares two numbers for equality.

The Equal node performs strict equality comparison between two numeric values.

The Equal node compares two numbers and returns true if they are exactly equal, false otherwise. It uses strict equality comparison and includes proper handling for floating-point precision.

Inputs

Numbers

DataDescription
First NumberThe first number to compare (default: 0)
Second NumberThe second number to compare (default: 0)

Actions

SignalDescription
DoTriggers the equality comparison and emits True/False condition signals based on the result

Outputs

Data

DataDescription
ResultBoolean result of the equality comparison

Signals

SignalDescription
True ConditionEmitted when the result is true on Do
False ConditionEmitted when the result is false on Do
DoneTriggered when the comparison is complete

Usage

Example Use Cases

  1. Conditional Logic: Check if values match expected results
  2. Form Validation: Verify user inputs against requirements
  3. Game Logic: Check win conditions, score targets, or achievement thresholds
  4. Data Filtering: Filter datasets based on exact value matches

Examples

First NumberSecond NumberResult
55true
3.143.14true
105false
00true
-11false