[][src]Function libslide::math::poly::term_and_pow_from_expr

fn term_and_pow_from_expr(expr: RcExpr) -> Result<(RcExpr, usize), String>

Gets the term and power of an expression. Returns None if the power is not a positive integer.