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

Function hasExportModifier

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

Source from the content-addressed store, hash-verified

2739}
2740
2741function hasExportModifier(node: ts.Node): boolean {
2742 return ts.canHaveModifiers(node) &&
2743 (ts.getModifiers(node)?.some((modifier) => modifier.kind === ts.SyntaxKind.ExportKeyword) ?? false)
2744}
2745
2746function hasDefaultModifier(node: ts.Node): boolean {
2747 return ts.canHaveModifiers(node) &&

Callers 2

parseNamespaceTsFunction · 0.70
parseSourceFileDocsFunction · 0.70

Calls 1

someMethod · 0.80

Tested by

no test coverage detected