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

Function assertFlowPredicate

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

Source from the content-addressed store, hash-verified

1756 assert("FlowDeclaration", node, opts);
1757}
1758export function assertFlowPredicate(
1759 node: object | null | undefined,
1760 opts?: object | null,
1761): asserts node is t.FlowPredicate {
1762 assert("FlowPredicate", node, opts);
1763}
1764export function assertEnumBody(
1765 node: object | null | undefined,
1766 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected