@eslint-react/core / isJsxText
function isJsxText(node: Node | null | undefined): node is JSXText | Literal;Check if a node is a JSXText or a Literal node
| Parameter | Type | Description |
|---|---|---|
node |
Node | null | undefined |
The AST node to check |
node is JSXText | Literal
true if the node is a JSXText or a Literal node