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

    Function isSubstitutionType

    • Test if a type is a SubstitutionType.

      Parameters

      • type: Type

      Returns type is SubstitutionType

      declare const type: ts.Type;

      if (isSubstitutionType(type)) {
      // ...
      }