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

Function assertMethod

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

Source from the content-addressed store, hash-verified

1672 assert("UserWhitespacable", node, opts);
1673}
1674export function assertMethod(
1675 node: object | null | undefined,
1676 opts?: object | null,
1677): asserts node is t.Method {
1678 assert("Method", node, opts);
1679}
1680export function assertObjectMember(
1681 node: object | null | undefined,
1682 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected