swc_ecma_transforms_optimization::simplify::expr

Function optimize_unary_expr

source
pub fn optimize_unary_expr(
    expr_ctx: ExprCtx,
    expr: &mut Expr,
    changed: &mut bool,
)
Expand description

NOTE: This is NOT a public API. DO NOT USE.