ProtoFlux:NotEquals: Difference between revisions

From Resonite Wiki
stub
 
m YoshBot moved page ProtoFlux:Not Equals to ProtoFlux:NotEquals: Automated: removing spaces from ProtoFlux namespace
 
(3 intermediate revisions by 2 users 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":"bool"}
{"Name":"*", "Type":"bool"}
]
]
|}}
|}}


[[Category:ProtoFlux:Stubs]]
The '''Not Equals''' node takes in 2 inputs and returns if the values do not match.
 
{{Note|If you need to check if values are equal to each other, use the [[ProtoFlux:Equals|Equals]] node.|suggestion}}
 
== Inputs ==
 
=== A (Pseudo-Generic) ===
 
The first value to check.
 
=== B (Pseudo-Generic) ===
 
The second value to check.
 
== Outputs ==
 
=== * ([[Type:bool|bool]]) ===
 
Returns if the 2 input values are not equal.
 
== Bugs & Issues ==
* This node does not correctly return the correct value when using and comparing <code>NaN</code> values against each other: [https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/1046 #1046] & [https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/1244 #1244].
 
== See Also ==
* Wikipedia's definition of [https://en.wikipedia.org/wiki/Inequation inequation].
* Microsoft's documentation on the [https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/equality-operators inequality] operator.
 
[[Category:ProtoFlux:Operators]]
[[Category:ProtoFlux:Operators]]

Latest revision as of 00:28, 21 August 2025

!=
A
*
B
Operators

The Not Equals node takes in 2 inputs and returns if the values do not match.

If you need to check if values are equal to each other, use the Equals node.

Inputs

A (Pseudo-Generic)

The first value to check.

B (Pseudo-Generic)

The second value to check.

Outputs

* (bool)

Returns if the 2 input values are not equal.

Bugs & Issues

  • This node does not correctly return the correct value when using and comparing NaN values against each other: #1046 & #1244.

See Also