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

Function assertDeclaredPredicate

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

Source from the content-addressed store, hash-verified

640 assert("DeclareExportAllDeclaration", node, opts);
641}
642export function assertDeclaredPredicate(
643 node: object | null | undefined,
644 opts?: object | null,
645): asserts node is t.DeclaredPredicate {
646 assert("DeclaredPredicate", node, opts);
647}
648export function assertExistsTypeAnnotation(
649 node: object | null | undefined,
650 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected