ProtoFlux:Value Filter Invalid: Difference between revisions

From Resonite Wiki
Stub
 
Corrected the name in the description.
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
|}}
|}}


[[Category:ProtoFlux:Stubs]]
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 ==
 
=== 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 <code>NaN</code>, <code>Infinity</code>, or <code>-Infinity</code>).
 
== Outputs ==
 
=== * (Pseudo-Generic) ===
 
Returns a valid value output.
 
[[Category:ProtoFlux:Operators]]
[[Category:ProtoFlux:Operators]]

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.