forked from enviPath/enviPy
Current Dev State
This commit is contained in:
12
static/js/ketcher2/node_modules/es6-set/is-set.js
generated
vendored
Normal file
12
static/js/ketcher2/node_modules/es6-set/is-set.js
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
var toString = Object.prototype.toString
|
||||
, toStringTagSymbol = require('es6-symbol').toStringTag
|
||||
|
||||
, id = '[object Set]'
|
||||
, Global = (typeof Set === 'undefined') ? null : Set;
|
||||
|
||||
module.exports = function (x) {
|
||||
return (x && ((Global && ((x instanceof Global) || (x === Global.prototype))) ||
|
||||
(toString.call(x) === id) || (x[toStringTagSymbol] === 'Set'))) || false;
|
||||
};
|
||||
Reference in New Issue
Block a user