Skip to main content

add_with_operand

Function add_with_operand 

Source
pub(crate) fn add_with_operand<'a>(
    expr: &'a Expr,
    operand: &Expr,
) -> Option<(&'a Expr, &'a Expr)>
Expand description

Returns the operands if expr is an addition involving operand.