Function isTypeReferenceType

  • Test if a node is a TypeReferenceType.

    Parameters

    • node: Node

    Returns node is TypeReferenceType

    Whether the given node appears to be a TypeReferenceType.

    Example

    declare const node: ts.Node;

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