Function isJsxTagNameExpression

  • Test if a node is a JsxTagNameExpression.

    Parameters

    • node: Node

    Returns node is JsxTagNameExpression

    Whether the given node appears to be a JsxTagNameExpression.

    Deprecated

    With TypeScript v5, in favor of typescript's isJsxTagNameExpression.

    Example

    declare const node: ts.Node;

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