Type Cast¶

Converts an object to the given type when the flow reaches it, e.g. a string to an int.
Type id: core:type_cast
Components¶
| Name | Plug | Datatype | Description |
|---|---|---|---|
flow |
in / out | Flow | Connects the execution flow from one node to the next. |
type |
in | Type | Class to convert the object to. |
object |
in | Object | Object to convert. |
result |
out | Object | The object converted to the type. |
How it works¶
- Converts when the flow reaches the node, and the flow continues.
typeis the class to convert to, for exampleintfor a string with digits.