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

Function assertFunctionExpression

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

Source from the content-addressed store, hash-verified

136 assert("FunctionDeclaration", node, opts);
137}
138export function assertFunctionExpression(
139 node: object | null | undefined,
140 opts?: object | null,
141): asserts node is t.FunctionExpression {
142 assert("FunctionExpression", node, opts);
143}
144export function assertIdentifier(
145 node: object | null | undefined,
146 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected