API reference
python:irx:irx.builder.protocols.VisitorMixinTypingBase._try_set_binary_op
method _try_set_binary_op
_try_set_binary_op(_lhs: ir.Value | None, _rhs: ir.Value | None, _op_code: str) -> bool
Source: packages/irx/src/irx/builder/protocols.py:1489
Try set binary op.
Parameters
-
_lhs โ Type: ir.Value | None
-
_rhs โ Type: ir.Value | None
-
_op_code โ Type: str
Returns
Type: bool