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

Function assertFunction

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

Source from the content-addressed store, hash-verified

1606 assert("ForXStatement", node, opts);
1607}
1608export function assertFunction(
1609 node: object | null | undefined,
1610 opts?: object | null,
1611): asserts node is t.Function {
1612 assert("Function", node, opts);
1613}
1614export function assertFunctionParent(
1615 node: object | null | undefined,
1616 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected