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

Function isImplicitEntryName

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

Source from the content-addressed store, hash-verified

795
796/** A name the language calls by itself, so no source file could name it. */
797export function isImplicitEntryName(name: string): boolean {
798 return DUNDER.test(name) || IMPLICIT_ENTRY_NAMES.has(name.toLowerCase());
799}
800
801function normalizeKinds(requested: readonly NodeKind[] | undefined): NodeKind[] {
802 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