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

Function isBoldOnlyLine

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

Source from the content-addressed store, hash-verified

1439}
1440
1441function isBoldOnlyLine(line: string): boolean {
1442 return /^\*\*[^*]+\*\*(?:\s*)$/.test(line)
1443}
1444
1445function isForbiddenMarkdownHeading(line: string, inFence: boolean): boolean {
1446 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