MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / isComment

Function isComment

src/integrations/misc/indentation-reader.ts:163–166  ·  view source on GitHub ↗

* Check if a line is a comment (for include_header behavior).

(line: LineRecord)

Source from the content-addressed store, hash-verified

161 * Check if a line is a comment (for include_header behavior).
162 */
163function isComment(line: LineRecord): boolean {
164 const trimmed = line.content.trim()
165 return COMMENT_PREFIXES.some((prefix) => trimmed.startsWith(prefix))
166}
167
168/**
169 * Trim empty lines from the front and back of a line array.

Callers 1

readWithIndentationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected