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

Function isInlineLinkStart

packages/tools/jsdocs/src/Jsdocs.ts:1619–1623  ·  view source on GitHub ↗
(source: string, index: number)

Source from the content-addressed store, hash-verified

1617}
1618
1619function isInlineLinkStart(source: string, index: number): boolean {
1620 if (!source.startsWith("{@link", index)) return false
1621 const next = source[index + "{@link".length]
1622 return next === undefined || /\s|}/.test(next)
1623}
1624
1625function hasInlineLink(block: JSDocBlock): boolean {
1626 return block.lines.some((line) => {

Callers 3

extractParsedInlineLinksFunction · 0.85
hasInlineLinkFunction · 0.85
malformedInlineLinksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected