Skip to main content

is_amount_plus_fee

Function is_amount_plus_fee 

Source
fn is_amount_plus_fee(
    expr: &Expr<'_>,
    amount: VariableId,
    fee: VariableId,
) -> bool
Expand description

True when expr is amount + fee or fee + amount, parens-tolerant.