lcapy.utils.factor_expr

lcapy.utils.factor_expr(expr, factor)

Extract factor from expression or None if expression does not have factor.