function isVariableDeclaration(node) {
            return (
                node.type === "VariableDeclaration" ||
                (
                    node.type === "ExportNamedDeclaration" &&
                    node.declaration &&
                    node.declaration.type === "VariableDeclaration"
                )
            );
        }
function isVariableDeclaration(node) {
            return (
                node.type === "VariableDeclaration" ||
                (
                    node.type === "ExportNamedDeclaration" &&
                    node.declaration &&
                    node.declaration.type === "VariableDeclaration"
                )
            );
        }
function isVariableDeclaration ( node ) { return ( node . type === "VariableDeclaration" || ( node . type === "ExportNamedDeclaration" && node . declaration && node . declaration . type === "VariableDeclaration" ) ) ; }
Checks whether a given node is a variable declaration or not.

@param {ASTNode} node - any node
@returns {boolean} `true` if the node is a variable declaration.
Checks whether a given node is a variable declaration or not .
Check if a node is a variable declaration