ProtoFlux:Value Filter Invalid: Difference between revisions

From Resonite Wiki
Filled in this node page.
Corrected the name in the description.
 
Line 13: Line 13:
|}}
|}}


The '''Filter Invalid''' node takes in an expected value and a fallback value. If the expected value is not valid (such as <code>NaN</code>, <code>Infinity</code>, or <code>-Infinity</code>), then the fallback value will be used as the output.
The '''Value Filter Invalid''' node takes in an expected value and a fallback value. If the expected value is not valid (such as <code>NaN</code>, <code>Infinity</code>, or <code>-Infinity</code>), then the fallback value will be used as the output.


== Inputs ==
== Inputs ==

Latest revision as of 15:11, 27 June 2024

Filter Invalid
Value
*
Fallback
Operators

The Value Filter Invalid node takes in an expected value and a fallback value. If the expected value is not valid (such as NaN, Infinity, or -Infinity), then the fallback value will be used as the output.

Inputs

Value (Pseudo-Generic)

The value that may have a chance of being invalid.

Fallback (Pseudo-Generic)

The fallback value if our provided value is invalid (by entering NaN, Infinity, or -Infinity).

Outputs

* (Pseudo-Generic)

Returns a valid value output.