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

Function assertObjectMethod

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

Source from the content-addressed store, hash-verified

220 assert("ObjectExpression", node, opts);
221}
222export function assertObjectMethod(
223 node: object | null | undefined,
224 opts?: object | null,
225): asserts node is t.ObjectMethod {
226 assert("ObjectMethod", node, opts);
227}
228export function assertObjectProperty(
229 node: object | null | undefined,
230 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected