Member Junction
    Preparing search index...
    • Does the given 1-based line carry marker, on itself or the line directly above?

      The preceding line counts because a real exception deserves a sentence of explanation, and a trailing comment long enough to hold one is unreadable. Only ONE line above — a wider window would let a marker drift away from the thing it excuses, which is how a suppression outlives the reason for it.

      lines must come from the ORIGINAL source text, not a comment-stripped copy: markers live in comments, so stripping them removes exactly what this reads.

      Parameters

      • lines: string[]
      • lineNumber: number
      • marker: string

      Returns boolean