Function isAIDocumentTaggingResult
Function
Type Signature
Type Declaration
Parameters
resultunknownThe result to check
Returns
result is AIADocumentChangesTaggingResponseWhether the result is an AI document tagging result
Example
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).