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

Function isModuleBindingName

src/resolution/import-resolver.ts:5053–5055  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

5051 * imports the module by.
5052 */
5053export function isModuleBindingName(name: string): boolean {
5054 return IDENTIFIER.test(name);
5055}
5056
5057const IDENTIFIER = /^[A-Za-z_$][\w$]*$/;
5058/** The receiver of a direct member reference: `store` of `store.get`, none of `store.get().then` or `a.b.c`. */

Callers 1

changedDefaultExportsMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected