source: trip-planner-front/node_modules/@babel/types/lib/validators/isVar.js@ fa375fe

Last change on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 333 bytes
RevLine 
[6a3a178]1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = isVar;
7
8var _generated = require("./generated");
9
10var _constants = require("../constants");
11
12function isVar(node) {
13 return (0, _generated.isVariableDeclaration)(node, {
14 kind: "var"
15 }) && !node[_constants.BLOCK_SCOPED_SYMBOL];
16}
Note: See TracBrowser for help on using the repository browser.