apiCSpell LibraryfunctionsFunction: shouldCheckDocument()On this pageFunction: shouldCheckDocument() shouldCheckDocument(doc, options, settings): Promise<ShouldCheckDocumentResult> Defined in: packages/cspell-lib/src/lib/textValidation/docValidator.ts:533 Parameters doc TextDocumentRef options DocumentValidatorOptions settings CSpellSettings Returns Promise<ShouldCheckDocumentResult>