Function isJSDocText

  • Test if a node is a JSDocText.

    Parameters

    • node: Node

    Returns node is JSDocText

    Whether the given node appears to be a JSDocText.

    Example

    declare const node: ts.Node;

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