Sha256: ee3ade6026f168f844678e3432fe52d0e71389f7316ea2aad2991c938dfaf650

Contents?: true

Size: 349 Bytes

Versions: 7

Compression:

Stored size: 349 Bytes

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = isBlockScoped;

var _generated = require("./generated");

var _isLet = require("./isLet");

function isBlockScoped(node) {
  return (0, _generated.isFunctionDeclaration)(node) || (0, _generated.isClassDeclaration)(node) || (0, _isLet.default)(node);
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
disco_app-0.16.1 test/dummy/node_modules/@babel/types/lib/validators/isBlockScoped.js
disco_app-0.15.2 test/dummy/node_modules/@babel/types/lib/validators/isBlockScoped.js
disco_app-0.18.4 test/dummy/node_modules/@babel/types/lib/validators/isBlockScoped.js
disco_app-0.18.1 test/dummy/node_modules/@babel/types/lib/validators/isBlockScoped.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@babel/types/lib/validators/isBlockScoped.js
disco_app-0.14.0 test/dummy/node_modules/@babel/types/lib/validators/isBlockScoped.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/@babel/types/lib/validators/isBlockScoped.js