swc_ecma_utils

Function class_has_side_effect

source
pub fn class_has_side_effect(expr_ctx: &ExprCtx, c: &Class) -> bool