MCPcopy Create free account
hub / github.com/babel/babel / assertModuleExpression

Function assertModuleExpression

packages/babel-types/src/asserts/generated/index.ts:1080–1085  ·  view source on GitHub ↗
(
  node: object | null | undefined,
  opts?: object | null,
)

Source from the content-addressed store, hash-verified

1078 assert("ExportDefaultSpecifier", node, opts);
1079}
1080export function assertModuleExpression(
1081 node: object | null | undefined,
1082 opts?: object | null,
1083): asserts node is t.ModuleExpression {
1084 assert("ModuleExpression", node, opts);
1085}
1086export function assertTopicReference(
1087 node: object | null | undefined,
1088 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected