MCPcopy Create free account
hub / github.com/effect-app/libs / hasWhenToUsePrefix

Function hasWhenToUsePrefix

repos/effect/packages/tools/jsdocs/src/Jsdocs.ts:1164–1167  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

1162 if (heading !== undefined) {
1163 if (examplesStarted) {
1164 diagnostics.push(diagnostic("section-after-example", `${heading} must appear before examples`))
1165 }
1166 const order = standardHeadings.indexOf(heading)
1167 if (order <= currentSectionOrder) {
1168 diagnostics.push(diagnostic("section-out-of-order", `${heading} is out of order or duplicated`))
1169 }
1170 currentSectionOrder = Math.max(currentSectionOrder, order)

Callers 1

parseDescriptionContentFunction · 0.85

Calls 1

someMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…