Added visuals and descriptors, slightly updated description of node. |
m link |
||
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
|}} | |}} | ||
The | The '''Unbox<T>''' node converts a boxed [[Type:object|object]] back into its underlying [[value type]]. | ||
== Inputs == | == Inputs == | ||
=== Input ([[Type:Object|Object | === Input ([[Type:Object|Object]]) === | ||
The object | The object to unbox. | ||
== Outputs == | == Outputs == | ||
Line 24: | Line 24: | ||
=== * (Generic) === | === * (Generic) === | ||
The unboxed | The unboxed value of the object. | ||
== See also == | |||
* [[ProtoFlux:Box]] for boxing value types into objects | |||
* [https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/types/boxing-and-unboxing Microsoft documentation on C# boxing and unboxing] | |||
[[Category:ProtoFlux:Core]] | [[Category:ProtoFlux:Core]] |
Latest revision as of 16:24, 18 April 2025
Unbox
Core
The Unbox<T> node converts a boxed object back into its underlying value type.
Inputs
Input (Object)
The object to unbox.
Outputs
* (Generic)
The unboxed value of the object.
See also
- ProtoFlux:Box for boxing value types into objects
- Microsoft documentation on C# boxing and unboxing