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

Function hasExportModifier

packages/tools/jsdocs/src/Jsdocs.ts:2811–2814  ·  view source on GitHub ↗
(node: ts.Node)

Source from the content-addressed store, hash-verified

2809}
2810
2811function hasExportModifier(node: ts.Node): boolean {
2812 return ts.canHaveModifiers(node) &&
2813 (ts.getModifiers(node)?.some((modifier) => modifier.kind === ts.SyntaxKind.ExportKeyword) ?? false)
2814}
2815
2816function hasDefaultModifier(node: ts.Node): boolean {
2817 return ts.canHaveModifiers(node) &&

Callers 2

parseNamespaceTsFunction · 0.70
parseSourceFileDocsFunction · 0.70

Calls 1

someMethod · 0.80

Tested by

no test coverage detected