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

Function assertFile

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

Source from the content-addressed store, hash-verified

112 assert("ExpressionStatement", node, opts);
113}
114export function assertFile(
115 node: object | null | undefined,
116 opts?: object | null,
117): asserts node is t.File {
118 assert("File", node, opts);
119}
120export function assertForInStatement(
121 node: object | null | undefined,
122 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected