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

    Function isConditionalType

    • Test if a type is a ConditionalType.

      Parameters

      • type: Type

      Returns type is ConditionalType

      declare const type: ts.Type;

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