swc_core::ecma::utils

Function is_maybe_branch_directive

pub fn is_maybe_branch_directive(stmt: &Stmt) -> bool
Available on crate features __ecma and __utils only.
Expand description

If the stmt is maybe a directive like "use strict";