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

Function assertClassExpression

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

Source from the content-addressed store, hash-verified

346 assert("ClassBody", node, opts);
347}
348export function assertClassExpression(
349 node: object | null | undefined,
350 opts?: object | null,
351): asserts node is t.ClassExpression {
352 assert("ClassExpression", node, opts);
353}
354export function assertClassDeclaration(
355 node: object | null | undefined,
356 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected