Skip to content
WritingLint
Search
Ctrl
K
Cancel
GitHub
Select theme
Dark
Light
Auto
Live demo
Guides
Consume as a library
Author a rule
Command line
Reference
Why a dependency graph
The AI-style rulepack
API reference
Classes
InMemoryTerminologyProvider
LayeredTerminologyProvider
Linter
Interfaces
BuildDocumentOptions
Category
Config
CountPolicy
CountUnit
DepSentence
DepToken
Document
DocumentRegion
Lint
LintAnchor
LintMagnitude
LintOptions
LintReport
MagnitudeMetric
Paragraph
ParsedSentence
Parser
ParserDescriptor
ReportDescriptor
ResolvedConfig
ResolvedRule
Rule
RuleContext
RuleEvidence
RuleExecution
RuleListener
RuleMeta
Rulepack
RuleRequirements
RuleServices
Segment
Sentence
SpanAnnotation
TerminologyLookup
TerminologyMatch
TerminologyProvenance
TerminologyProvider
TerminologyProviderDescriptor
TerminologyRecord
TextFix
Tok
Type Aliases
ActiveSeverity
Confidence
DocumentRegionRole
ParserCapabilities
ParserCapability
RuleLevel
RuleSetting
Severity
TerminologyLayer
TerminologyStatus
Variables
BASE_PARSER_CAPABILITIES
DOCUMENT_REGION_ROLES
TOKEN_COUNT_POLICY
Functions
annotationsOverlapping
buildDocument
byId
byteToChar
child
childrenByRel
childrenOf
countSentenceUnits
decodeTree
defineConfig
definePack
defineRule
hasChild
isGerund
isValidTree
lower
makeSentence
regionsOverlapping
resolveConfig
root
segments
spanOf
subtree
validateRegions
GitHub
Select theme
Dark
Light
Auto
isValidTree
isValidTree
(
heads
):
boolean
Defined in:
decode.ts:92
Parameters
Section titled “Parameters”
heads
Section titled “heads”
readonly
number
[]
Returns
Section titled “Returns”
boolean