ts-api-utils - v3.0.0-rc.1
    Preparing search index...

    Function isFunctionScopeBoundary

    • Is the node a scope boundary, specifically due to it being a function.

      Parameters

      • node: Node

      Returns boolean

      declare const node: ts.Node;

      if (isFunctionScopeBoundary(node)) {
      // ...
      }