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

Function isModuleBindingName

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

Source from the content-addressed store, hash-verified

5050 * imports the module by.
5051 */
5052export function isModuleBindingName(name: string): boolean {
5053 return IDENTIFIER.test(name);
5054}
5055
5056const IDENTIFIER = /^[A-Za-z_$][\w$]*$/;
5057/** 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