MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isImplicitEntryName

Function isImplicitEntryName

src/graph/dead-code.ts:793–795  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

791
792/** A name the language calls by itself, so no source file could name it. */
793export function isImplicitEntryName(name: string): boolean {
794 return DUNDER.test(name) || IMPLICIT_ENTRY_NAMES.has(name.toLowerCase());
795}
796
797function normalizeKinds(requested: readonly NodeKind[] | undefined): NodeKind[] {
798 if (!requested || requested.length === 0) return [...DEAD_CODE_KINDS];

Callers 2

dead-code.test.tsFile · 0.90
buildDeadCodeReportFunction · 0.85

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected