stub |
Filled in this node page. |
||
(2 intermediate revisions by one other user not shown) | |||
Line 5: | Line 5: | ||
|Inputs= | |Inputs= | ||
[ | [ | ||
{"Name":"", "Type":"Dummy"}, | {"Name":"A", "Type":"Dummy"}, | ||
{"Name":"", "Type":"Dummy"} | {"Name":"B", "Type":"Dummy"} | ||
] | ] | ||
|Outputs= | |Outputs= | ||
[ | [ | ||
{"Name":"", "Type":" | {"Name":"*", "Type":"bool"} | ||
] | ] | ||
|}} | |}} | ||
The '''Equals''' node takes in 2 inputs and returns if the values match. | |||
{{Note|If you need to check if values are not equal to each other, use the [[ProtoFlux:Not Equals|Not 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 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/Equality_(mathematics) equality]. | |||
* Microsoft's documentation on the [https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/equality-operators equality] operator. | |||
[[Category:ProtoFlux:Stubs]] | [[Category:ProtoFlux:Stubs]] | ||
[[Category:ProtoFlux:Operators]] | [[Category:ProtoFlux:Operators]] |
Latest revision as of 08:24, 27 June 2024
==
Operators
The Equals node takes in 2 inputs and returns if the values match.
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 equal.