moltres-utils
Version:
Utils for Moltres apps
19 lines (14 loc) • 530 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _getTag = _interopRequireDefault(require("./getTag"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const isSymbol = value => {
const type = typeof value;
return type == 'symbol' || type == 'object' && value != null && (0, _getTag.default)(value) == '[object Symbol]';
};
var _default = isSymbol;
exports.default = _default;
//# sourceMappingURL=isSymbol.js.map
;