stub |
Filled in this node page. |
||
Line 4: | Line 4: | ||
|Inputs= | |Inputs= | ||
[ | [ | ||
{"Name":"", "Type":"Dummy"} | {"Name":"Instance", "Type":"Dummy"} | ||
] | ] | ||
|Outputs= | |Outputs= | ||
[ | [ | ||
{"Name":"", "Type":"bool"} | {"Name":"*", "Type":"bool"} | ||
] | ] | ||
|}} | |}} | ||
[[ | The '''Not Null''' node takes in a [[Reference Type|reference type]] and returns if the provided reference is not 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}} | |||
{{Note|If you want to check if something is null, use the [[ProtoFlux:Is Null|Is Null]] node instead.|suggestion}} | |||
== Inputs == | |||
=== Instance (Pseudo-Generic) === | |||
The reference to check. | |||
== Outputs == | |||
=== * ([[Types:Bool|bool]]) === | |||
Outputs if instance is not 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]] |
Latest revision as of 09:37, 27 June 2024
NOT Null
Operators
The Not Null node takes in a reference type and returns if the provided reference is not null.
Inputs
Instance (Pseudo-Generic)
The reference to check.
Outputs
* (bool)
Outputs if instance is not null.