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

Function isModuleBindingName

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

Source from the content-addressed store, hash-verified

4828 * imports the module by.
4829 */
4830export function isModuleBindingName(name: string): boolean {
4831 return IDENTIFIER.test(name);
4832}
4833
4834const IDENTIFIER = /^[A-Za-z_$][\w$]*$/;
4835/** 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