EU Parliament Monitor — API Documentation - v0.9.2
    Preparing search index...

    Function isArtifactCategoryHeading

    • Return true when an artefact-H1 begins with one of the ARTIFACT_CATEGORY_PREFIXES followed by a separator. Such H1s carry the artefact's structural label rather than a journalist's headline (e.g. # Synthesis Summary — Week in Review (3 Apr – 1 May 2026)) and must not leak into the article <title>.

      Parameters

      • heading: string

        Plain-text H1 (after stripInlineMarkdown)

      Returns boolean

      true when the heading is an artefact-category label