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

Function assertStructDeclaration

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

Source from the content-addressed store, hash-verified

1096 assert("VoidPattern", node, opts);
1097}
1098export function assertStructDeclaration(
1099 node: object | null | undefined,
1100 opts?: object | null,
1101): asserts node is t.StructDeclaration {
1102 assert("StructDeclaration", node, opts);
1103}
1104export function assertStructBody(
1105 node: object | null | undefined,
1106 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected