ProtoFlux:Less Or Equal: Difference between revisions

From Resonite Wiki
stub
 
Fixed node visual.
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
|Inputs=
|Inputs=
[
[
{"Name":"", "Type":"Dummy"},
{"Name":"A", "Type":"Dummy"},
{"Name":"", "Type":"Dummy"}
{"Name":"B", "Type":"Dummy"}
]
]
|Outputs=
|Outputs=
[
[
{"Name":"", "Type":"Dummy"}
{"Name":"*", "Type":"bool"}
]
]
|}}
|}}


[[Category:ProtoFlux:Stubs]]
The '''Less Or Equal''' node takes in 2 values and returns if the first value is smaller than or equal to the second value.
 
{{Note|For other comparison nodes:
* If you need to check if a value is greater than something else, use the [[ProtoFlux:Greater Than|Greater Than]] node instead.
* If you need to check if a value is less than something else, use the [[ProtoFlux:Less Than|Less Than]] node instead.
* If you need to check if a value is greater than or equal to something else, use the [[ProtoFlux:Greater Or Equal|Greater Or Equal]] node instead.
|suggestion}}
 
== Inputs ==
 
=== A (Pseudo-Generic) ===
 
The first value.
 
=== B (Pseudo-Generic) ===
 
The second value.
 
== Outputs ==
 
=== * ([[Type:bool|bool]]) ===
 
Returns if the first value is smaller than or equal to the second value.
 
== See Also ==
* Wikipedia's definition of [https://en.wikipedia.org/wiki/Inequality_(mathematics) inequality].
* Microsoft's documentation on the [https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/comparison-operators less than or equal to] operator.
 
[[Category:ProtoFlux:Operators]]
[[Category:ProtoFlux:Operators]]

Latest revision as of 13:15, 27 June 2024

A
*
B
Operators

The Less Or Equal node takes in 2 values and returns if the first value is smaller than or equal to the second value.

For other comparison nodes:
  • If you need to check if a value is greater than something else, use the Greater Than node instead.
  • If you need to check if a value is less than something else, use the Less Than node instead.
  • If you need to check if a value is greater than or equal to something else, use the Greater Or Equal node instead.

Inputs

A (Pseudo-Generic)

The first value.

B (Pseudo-Generic)

The second value.

Outputs

* (bool)

Returns if the first value is smaller than or equal to the second value.

See Also