API reference
python:irx:irx.builder.protocols.VisitorMixinTypingBase._coerce_to
method _coerce_to
_coerce_to(_value: ir.Value, _target_ty: ir.Type) -> ir.Value
Source: packages/irx/src/irx/builder/protocols.py:1578
Coerce to.
Parameters
-
_value — Type: ir.Value
-
_target_ty — Type: ir.Type
Returns
Type: ir.Value