Test if a node is a JsxChild.
JsxChild
Whether the given node appears to be a JsxChild.
With TypeScript v5, in favor of typescript's isJsxChild.
isJsxChild
declare const node: ts.Node;if (isJsxChild(node)) { // ...} Copy
declare const node: ts.Node;if (isJsxChild(node)) { // ...}
Test if a node is a
JsxChild
.