≤
node compares two floating-point numbers and outputs a boolean value indicating whether the first input is less than or equal to the second input.
a
(float, default: 0): The first number to compare.b
(float, default: 0): The second number to compare.result
(boolean): True if a
is less than or equal to b
, false otherwise.≤
node:
a
input.b
input.result
output will emit true
if a
is less than or equal to b
, and false
otherwise.≤
node in a spell:
input/number
node provides the value 5
to the a
input of the ≤
node.input/number
node provides the value 7
to the b
input of the ≤
node.≤
node compares 5
and 7
, and since 5
is less than 7
, it outputs true
.output/boolean
node receives the true
value and outputs it from the spell.≤
node are both floating-point numbers. Connecting other data types may cause unexpected behavior.a
is less than or equal to b
, not the other way around.