borders/node_modules/@babel/types/lib/validators/isVar.js

16 lines
333 B
JavaScript
Raw Normal View History

2022-02-10 07:28:21 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = isVar;
var _generated = require("./generated");
var _constants = require("../constants");
function isVar(node) {
return (0, _generated.isVariableDeclaration)(node, {
kind: "var"
}) && !node[_constants.BLOCK_SCOPED_SYMBOL];
}