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

Function isTypeScriptFence

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

Source from the content-addressed store, hash-verified

1277}
1278
1279const isTypeScriptFence = (line: string): boolean => /^```ts(?:\s.*)?$/.test(line)
1280
1281function parseExample(lines: Array<string>, headingIndex: number): {
1282 readonly example?: ParsedExample

Callers 2

parseSectionFunction · 0.85
parseExampleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected