ProtoFlux:Multi Null Coalesce: Difference between revisions

From Resonite Wiki
Early initial documentation, update node graphic to be more reasonable.
Create page, early initial documentation
Line 4: Line 4:
|Inputs=
|Inputs=
[
[
{"Name":"Operands", "Multi":2, "Type":"Dummy"}
{"Type":"Dummy"},
{"Type":"Dummy"}
]
]
|Outputs=
|Outputs=
[
[
{"Name":"*", "Type":"Dummy"}
{"Type":"Dummy"}
]
]
|}}
|}}


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.
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.


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

Revision as of 22:08, 18 February 2024

??
Operators

The Null Coalesce operator takes two inputs. If the first input is null, it returns the value of the second input. Otherwise, it returns the value of the first input.