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

Function assertFunctionParameter

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

Source from the content-addressed store, hash-verified

1630 assert("Declaration", node, opts);
1631}
1632export function assertFunctionParameter(
1633 node: object | null | undefined,
1634 opts?: object | null,
1635): asserts node is t.FunctionParameter {
1636 assert("FunctionParameter", node, opts);
1637}
1638export function assertPatternLike(
1639 node: object | null | undefined,
1640 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected