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

Function hasWhenToUsePrefix

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

Source from the content-addressed store, hash-verified

1226}
1227
1228function hasWhenToUsePrefix(text: string): boolean {
1229 const trimmed = text.trimStart()
1230 return whenToUsePrefixes.some((prefix) => trimmed === prefix || trimmed.startsWith(`${prefix} `))
1231}
1232
1233function parseSection(lines: Array<string>, headingIndex: number): {
1234 readonly body: string | null

Callers 1

parseDescriptionContentFunction · 0.85

Calls 1

someMethod · 0.80

Tested by

no test coverage detected