Lower or Equals

Tests whether one number is lower than or equal to another.

Node id logic/lower-or-equals

The Lower or Equals node outputs true if a is lower than or equal to b (a <= b), and false otherwise: 2 <= 3 and 2 <= 2 are true, 3 <= 2 is false.

Inputs

NameTypeDefaultNotes
anumber0
bnumber0

Outputs

NameTypeNotes
resultboolean

Behaviour

  • Defaults. Both inputs default to 0.
  • NaN. If either input is NaN, the result is false.
  • Precision. Numbers computed in different ways may differ by a tiny amount (0.1 + 0.2 is 0.30000000000000004), which matters when a and b are meant to be equal.
© 2026 Wirepaint