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

Function assertClassPrivateMethod

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

Source from the content-addressed store, hash-verified

520 assert("ClassPrivateProperty", node, opts);
521}
522export function assertClassPrivateMethod(
523 node: object | null | undefined,
524 opts?: object | null,
525): asserts node is t.ClassPrivateMethod {
526 assert("ClassPrivateMethod", node, opts);
527}
528export function assertPrivateName(
529 node: object | null | undefined,
530 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected