is_op_with

Function is_op_with 

Source
pub fn is_op_with(target_op: Operator, haystack: &Expr, needle: &Expr) -> bool
Expand description

returns true if haystack looks like (needle OP X) or (X OP needle)