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

    Function isIntersectionType

    • Test if a type is a IntersectionType.

      Parameters

      • type: Type

      Returns type is IntersectionType

      declare const type: ts.Type;

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