Added some more inforamtion to the object page, added a link as well. |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
The Object type is essentially a [[Type:Type|Type]] which can store any other Type instance or it can be null. | The Object type is essentially a [[Type:Type|Type]] which can store any other Type instance or it can be null. | ||
It can be used as a | It can be used as a "transporter" which you can use as generic storage and then later cast it back to its intended Type. This can mostly be seen when using the [[ProtoFlux:Box|Box]] and [[ProtoFlux:Unbox|Unbox]] nodes. | ||
Other nodes that use this type frequently are the [[ProtoFlux:To String|ToString (Object)]] node and [[ProtoFlux:Format String|Format String]] node, as these need a generic type like an object to convert into a string of information. | |||
== See Also == | |||
* [[wikipedia:Top_type|Top Type]] | |||
[[Category:Type]] | [[Category:Type]] |
Latest revision as of 19:08, 8 April 2025
The Object type is essentially a Type which can store any other Type instance or it can be null.
It can be used as a "transporter" which you can use as generic storage and then later cast it back to its intended Type. This can mostly be seen when using the Box and Unbox nodes.
Other nodes that use this type frequently are the ToString (Object) node and Format String node, as these need a generic type like an object to convert into a string of information.