ProtoFlux:Less Or Equal: Difference between revisions

From Resonite Wiki
stub
 
Filled in this node page.
Line 9: Line 9:
|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]]

Revision as of 13:13, 27 June 2024

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