Skip to main content

Less Than Or Equal

This node checks if the first number is less than or equal to the second number.

The Less Than Or Equal node performs comparison operations to test ordering relationships.

The Less Than Or Equal node compares two numbers and returns true if the first number is less than or equal to the second number, false otherwise.

Inputs

Numbers

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

Actions

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

Outputs

Data

DataDescription
ResultBoolean result of the less-than-or-equal 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. Validation: Check if values are within acceptable ranges
  2. Game Logic: Test if scores meet thresholds, health is below danger levels
  3. Form Controls: Validate maximum input values
  4. Sorting Logic: Implement custom sorting algorithms

Examples

First NumberSecond NumberResult
35true
55true
75false
-20true