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

Function isNearMissHeading

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

Source from the content-addressed store, hash-verified

1412}
1413
1414function isNearMissHeading(line: string): boolean {
1415 return /^\*\*(When to use|When To Use|Details|Gotchas).*\*\*/.test(line) &&
1416 !standardHeadings.includes(line as StandardHeading)
1417}
1418
1419function isBoldOnlyLine(line: string): boolean {
1420 return /^\*\*[^*]+\*\*(?:\s*)$/.test(line)

Callers 2

parseDescriptionContentFunction · 0.85
isHeadingLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected