ProtoFlux:Is Null: Difference between revisions

From Resonite Wiki
Added the See Also section. Updated descriptions.
Added a suggestion.
 
Line 15: Line 15:


{{Note|[[Value Type|Value types]] cannot be null, unless using the nullable version of those types. Using value types that are [[Type:Nullable`1|nullables]] will not work with this node however.|information}}
{{Note|[[Value Type|Value types]] cannot be null, unless using the nullable version of those types. Using value types that are [[Type:Nullable`1|nullables]] will not work with this node however.|information}}
{{Note|If you want to check if something is not null, use the [[ProtoFlux:Not Null|Not Null]] node instead.|suggestion}}


== Inputs ==
== Inputs ==

Latest revision as of 09:38, 27 June 2024

Is Null
Instance
*
Operators

The Is Null node takes in a reference type and returns if the provided reference is null.

Value types cannot be null, unless using the nullable version of those types. Using value types that are nullables will not work with this node however.
If you want to check if something is not null, use the Not Null node instead.

Inputs

Instance (Pseudo-Generic)

The reference to check.

Outputs

* (bool)

Outputs if instance is null.

See Also

  • Wikipedia's definition of null in Computer Science.
  • Microsoft's documentation on the null keyword.