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

Function assertJSXText

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

Source from the content-addressed store, hash-verified

1006 assert("JSXSpreadAttribute", node, opts);
1007}
1008export function assertJSXText(
1009 node: object | null | undefined,
1010 opts?: object | null,
1011): asserts node is t.JSXText {
1012 assert("JSXText", node, opts);
1013}
1014export function assertJSXFragment(
1015 node: object | null | undefined,
1016 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected