ProtoFlux:Multi Null Coalesce: Difference between revisions

From Resonite Wiki
Early initial documentation, update node graphic to be more reasonable.
Filled in this node page.
 
(2 intermediate revisions by one other user not shown)
Line 12: Line 12:
|}}
|}}


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 '''Multi Null Coalesce''' node operates similarly to the regular [[ProtoFlux:Null_Coalesce|Null Coalesce]] node, but take multiple [[Reference Type|reference types]] of the same type as input. The output will be the first non-<code>null</code> value from the list of inputs.
 
== Inputs ==
 
=== Operands (Pseudo-Generic) ===
 
The list of reference values to check.
 
== Outputs ==
 
=== * (Pseudo-Generic) ===
 
Returns the first non-null value found in order.
 
== See Also ==
* Wikipedia's definition of [https://en.wikipedia.org/wiki/Null_coalescing_operator null coalescing operator].
* Microsoft's documentation on the [https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/null-coalescing-operator null coalescing] operator.


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

Latest revision as of 14:13, 27 June 2024

??
Operands
*
+
-
Operators

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

Inputs

Operands (Pseudo-Generic)

The list of reference values to check.

Outputs

* (Pseudo-Generic)

Returns the first non-null value found in order.

See Also