Sha256: 78dcf5902c367695ef04e9c3488716030f8a8a2cac03afa5fd6ef5f6c3cea44d

Contents?: true

Size: 399 Bytes

Versions: 51

Compression:

Stored size: 399 Bytes

Contents

'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;
};

Version data entries

51 entries across 51 versions & 6 rubygems

Version Path
govuk_publishing_components-16.19.0 node_modules/es6-set/is-set.js
govuk_publishing_components-16.18.0 node_modules/es6-set/is-set.js
govuk_publishing_components-16.17.0 node_modules/es6-set/is-set.js
optimacms-0.4.3 spec/dummy/node_modules/es6-set/is-set.js
optimacms-0.4.2 spec/dummy/node_modules/es6-set/is-set.js
cortex-0.1.3 spec/dummy/node_modules/es6-set/is-set.js
guard-sass-lint-0.1.2 node_modules/es6-set/is-set.js
guard-sass-lint-0.1.1 node_modules/es6-set/is-set.js
lanes-0.8.0 node_modules/es6-set/is-set.js
xcodebuild-helper-1.2.5 externals/ios-sim-master/node_modules/es6-set/is-set.js
xcodebuild-helper-1.2.3 externals/ios-sim-master/node_modules/es6-set/is-set.js