pub fn single_let(expr: Expr) -> Option<LetExpr>
Returns the let only if there is exactly one (that is, let pat = expr or ((let pat = expr)), but not let pat = expr && expr or non_let_expr).
let
let pat = expr
((let pat = expr))
let pat = expr && expr
non_let_expr