ProtoFlux:Is Null: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page Is Null (ProtoFlux) to ProtoFlux:Is Null: Creating protoflux Namespace
Added the See Also section. Updated descriptions.
Line 11: Line 11:
]
]
|}}
|}}
'''Is Null''' returns a bool of if the inputted object is null.
 
The '''Is Null''' node takes in a [[Reference Type|reference type]] and returns if the provided reference is null.
 
{{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}}


== Inputs ==
== Inputs ==
=== Instance ([[Type:Object|Object]]) ===
 
Inputted object to check if null.
=== Instance (Pseudo-Generic) ===
 
The reference to check.


== Outputs ==
== Outputs ==
=== * ([[Types:Bool |bool]]) ===
=== * ([[Types:Bool |bool]]) ===
Outputs if instance is null.
Outputs if instance is null.
== See Also ==
* Wikipedia's definition of [https://en.wikipedia.org/wiki/Null_pointer null] in Computer Science.
* Microsoft's documentation on the [https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/null null] keyword.
[[Category:ProtoFlux:Operators]]
[[Category:ProtoFlux:Operators]]

Revision as of 09:32, 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.

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.