@eslint-react/core / isHookCall
function isHookCall(node: Node | undefined): node is CallExpression;Check if the given node is a React Hook call by its name.
| Parameter | Type | Description |
|---|---|---|
node |
Node | undefined |
The node to check. |
node is CallExpression
true if the node is a React Hook call, false otherwise.