ProtoFlux:Multi Null Coalesce: Difference between revisions

From Resonite Wiki
Create page, early initial documentation
Revert to 77015 - accidental push to wrong page
Tag: Manual revert
Line 4: Line 4:
|Inputs=
|Inputs=
[
[
{"Type":"Dummy"},
{"Name":"Operands", "Multi":2, "Type":"Dummy"}
{"Type":"Dummy"}
]
]
|Outputs=
|Outputs=
[
[
{"Type":"Dummy"}
{"Name":"*", "Type":"Dummy"}
]
]
|}}
|}}


The Null Coalesce operator takes two inputs. If the first input is <code>null</code>, it returns the value of the second input. Otherwise, it returns the value of the first input.
Multi Null Coalesce operate similarly to the regular [[ProtoFlux:Null_Coalesce|Null Coalesce]] node, but take multiple arguments as input. The output will be the first non-<code>null</code> value from the list of inputs.


[[Category:ProtoFlux:Stubs]]
[[Category:ProtoFlux:Stubs]]
[[Category:ProtoFlux:Operators]]
[[Category:ProtoFlux:Operators]]

Revision as of 22:10, 18 February 2024

??
Operands
*
+
-
Operators

Multi Null Coalesce operate similarly to the regular Null Coalesce node, but take multiple arguments as input. The output will be the first non-null value from the list of inputs.