Function swc_core::ecma::utils::contains_this_expr

pub fn contains_this_expr<N>(body: &N) -> bool
Available on crate features __ecma and __utils only.
Expand description

This does not recurse into a function if this is changed by it.

e.g.

  • The body of an arrow expression is visited.
  • The body of a function expression is not visited.