API reference
python:arx:arx.builtins.build_cast
function build_cast
build_cast(value: astx.DataType, target_type: astx.DataType) -> irx_astx.Cast
Source: packages/arx/src/arx/builtins.py:139
Build an IRx Cast node.
Parameters
-
value — Value to process.; Type: astx.DataType
-
target_type — Destination type for the conversion.; Type: astx.DataType
Returns
Constructed an IRx Cast node.; Type: irx_astx.Cast