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

    Function isJSDocComment

    • Test if a node is a JSDocComment.

      Parameters

      • node: Node

      Returns node is JSDocComment

      Whether the given node appears to be a JSDocComment.

      declare const node: ts.Node;

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