?? (LogiX node)

From Neos Wiki
Jump to navigation Jump to search
Other languages:
English • ‎日本語 • ‎한국어
'??' LogiX node
  Object A
  Object B
  Object *

The ?? node outputs the value of the first input which is not null.


When spawned from the node browser, this node accepts the object datatype by default. However, this node can be overloaded to use various reference types if an appropriate wire is connected. Inputs are checked for not-null values in order: A, then B (or Operands.[0], Operands.[1], Operands.[2] ... etc. if more than 2 inputs are present). Output will be null if all inputs are also null. This operator can be referred to as the 'null-coalescing' operator.


Node Menu

Back Bool Vectors Nullable Parsing - ! !=
% & ?: ?? ^ | |V|
|V|² + +/- +1 < << ==
> >> × ×dT ÷ ÷dT
° · 0 1 -1 1/x
1-x A^-1 Cross Determinant Distance Filter Invalid Get Type
IsInfinity IsNaN IsNull Mask Matrix Element -n NAND
NOR Normalized NotNull Pack Columns Pack rgba Pack Rows Pack xy
Pack xyz Pack xyzw Project Reflect ROL ROR To String
Transpose Unpack Columns Unpack Rows Unpack xy Unpack xyz Unpack xyzw