pub fn matched_is_tests(expr: &Expr, when_true: bool) -> Vec<&Expr>
The is tests (ExprKind::Is nodes) that expr proves matched when it evaluates to when_true, in source order.
is
ExprKind::Is
expr
when_true