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

Function assertPattern

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

Source from the content-addressed store, hash-verified

1696 assert("UnaryLike", node, opts);
1697}
1698export function assertPattern(
1699 node: object | null | undefined,
1700 opts?: object | null,
1701): asserts node is t.Pattern {
1702 assert("Pattern", node, opts);
1703}
1704export function assertClass(
1705 node: object | null | undefined,
1706 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected