20 lines
403 B
Plaintext
20 lines
403 B
Plaintext
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = isVar;
|
|
var _index = require("./generated/index.js");
|
|
{
|
|
var BLOCK_SCOPED_SYMBOL = Symbol.for("var used to be block scoped");
|
|
}
|
|
function isVar(node) {
|
|
{
|
|
return (0, _index.isVariableDeclaration)(node, {
|
|
kind: "var"
|
|
}) && !node[BLOCK_SCOPED_SYMBOL];
|
|
}
|
|
}
|
|
|
|
//# sourceMappingURL=isVar.js.map
|