MCPcopy Create free account
hub / github.com/Effect-TS/effect / isBoldOnlyLine

Function isBoldOnlyLine

packages/tools/jsdocs/src/Jsdocs.ts:1419–1421  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

1417}
1418
1419function isBoldOnlyLine(line: string): boolean {
1420 return /^\*\*[^*]+\*\*(?:\s*)$/.test(line)
1421}
1422
1423function isForbiddenMarkdownHeading(line: string, inFence: boolean): boolean {
1424 return !inFence && /^#{1,6}\s+/.test(line.trim())

Callers 3

parseDescriptionContentFunction · 0.85
parseSectionFunction · 0.85
isHeadingLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected