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

Function assertProgram

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

Source from the content-addressed store, hash-verified

208 assert("NewExpression", node, opts);
209}
210export function assertProgram(
211 node: object | null | undefined,
212 opts?: object | null,
213): asserts node is t.Program {
214 assert("Program", node, opts);
215}
216export function assertObjectExpression(
217 node: object | null | undefined,
218 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected