Function hasTypeArguments

  • Test if a node is a HasTypeArguments.

    Parameters

    • node: Node

    Returns node is HasTypeArguments

    Whether the given node appears to be a HasTypeArguments.

    Example

    declare const node: ts.Node;

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