Sha256: b4cd5414b434d7bfddf2ed1b0a3cd60ef5c6779f20ae5183d18bbd68dfcddb4f
Contents?: true
Size: 650 Bytes
Versions: 1
Compression:
Stored size: 650 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = isValidIdentifier; function _esutils() { var data = _interopRequireDefault(require("esutils")); _esutils = function _esutils() { return data; }; return data; } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function isValidIdentifier(name) { if (typeof name !== "string" || _esutils().default.keyword.isReservedWordES6(name, true)) { return false; } else if (name === "await") { return false; } else { return _esutils().default.keyword.isIdentifierNameES6(name); } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
condenser-0.0.4 | lib/condenser/processors/node_modules/@babel/types/lib/validators/isValidIdentifier.js |