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

Function assertClassMethod

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

Source from the content-addressed store, hash-verified

418 assert("MetaProperty", node, opts);
419}
420export function assertClassMethod(
421 node: object | null | undefined,
422 opts?: object | null,
423): asserts node is t.ClassMethod {
424 assert("ClassMethod", node, opts);
425}
426export function assertObjectPattern(
427 node: object | null | undefined,
428 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected