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

Function hasWhenToUsePrefix

packages/tools/jsdocs/src/Jsdocs.ts:1250–1253  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

1248}
1249
1250function hasWhenToUsePrefix(text: string): boolean {
1251 const trimmed = text.trimStart()
1252 return whenToUsePrefixes.some((prefix) => trimmed === prefix || trimmed.startsWith(`${prefix} `))
1253}
1254
1255function parseSection(lines: Array<string>, headingIndex: number): {
1256 readonly body: string | null

Callers 1

parseDescriptionContentFunction · 0.85

Calls 1

someMethod · 0.80

Tested by

no test coverage detected