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

Function assertConditional

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

Source from the content-addressed store, hash-verified

1570 assert("CompletionStatement", node, opts);
1571}
1572export function assertConditional(
1573 node: object | null | undefined,
1574 opts?: object | null,
1575): asserts node is t.Conditional {
1576 assert("Conditional", node, opts);
1577}
1578export function assertLoop(
1579 node: object | null | undefined,
1580 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected