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

Function isModuleBindingName

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

Source from the content-addressed store, hash-verified

5297 * imports the module by.
5298 */
5299export function isModuleBindingName(name: string): boolean {
5300 return IDENTIFIER.test(name);
5301}
5302
5303const IDENTIFIER = /^[A-Za-z_$][\w$]*$/;
5304/** 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