Nutrient Web SDK
    Preparing search index...

    Function isAIDocumentTaggingResult

    • Type guard to determine if a result is an AIDocumentTaggingResult Checks if the result is from a "tag" operation (AIADocumentChangesTaggingResponse).

      Parameters

      • result: unknown

        The result to check

      Returns result is AIADocumentChangesTaggingResponse

      Whether the result is an AI document tagging result

      if (NutrientViewer.isAIDocumentTaggingResult(result)) {
      console.log('Tagged references:', result.references);
      }