Type guard to determine if a result is an AIDocumentTaggingResult Checks if the result is from a "tag" operation (AIADocumentChangesTaggingResponse).
The result to check
Whether the result is an AI document tagging result
if (NutrientViewer.isAIDocumentTaggingResult(result)) { console.log('Tagged references:', result.references);} Copy
if (NutrientViewer.isAIDocumentTaggingResult(result)) { console.log('Tagged references:', result.references);}
Type guard to determine if a result is an AIDocumentTaggingResult Checks if the result is from a "tag" operation (AIADocumentChangesTaggingResponse).