Skip to main content

any_subexpr

Function any_subexpr 

Source
pub fn any_subexpr(expr: &Expr<'_>, pred: impl FnMut(&Expr<'_>) -> bool) -> bool
Expand description

True if pred holds for expr or any of its sub-expressions.