MCPcopy Index your code
hub / github.com/QwikDev/qwik / isComment

Function isComment

scripts/docs_sync/main.ts:59–62  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

57}
58
59function isComment(line: string): boolean {
60 line = line.trim();
61 return line.startsWith('//') || line.startsWith('/**') || line.startsWith('*');
62}
63
64async function resolveComment(dir: string, ref: string, section: string): Promise<string[]> {
65 const fileReadme = join(dir, ref);

Callers 1

scanForDocDirectiveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…