Sha256: 4dbe15bd893ebdda67d1a71e94c6b7484a7f486d29fecea28544405628a2d7be

Contents?: true

Size: 254 Bytes

Versions: 56

Compression:

Stored size: 254 Bytes

Contents

'use strict';

module.exports = function (x) {
	if (!x) return false;
	if (typeof x === 'symbol') return true;
	if (!x.constructor) return false;
	if (x.constructor.name !== 'Symbol') return false;
	return (x[x.constructor.toStringTag] === 'Symbol');
};

Version data entries

56 entries across 55 versions & 7 rubygems

Version Path
govuk_publishing_components-18.0.0 node_modules/es6-symbol/is-symbol.js
govuk_publishing_components-17.21.0 node_modules/es6-symbol/is-symbol.js
govuk_publishing_components-17.20.0 node_modules/es6-symbol/is-symbol.js
govuk_publishing_components-17.19.1 node_modules/es6-symbol/is-symbol.js
govuk_publishing_components-17.19.0 node_modules/es6-symbol/is-symbol.js
govuk_publishing_components-17.18.0 node_modules/es6-symbol/is-symbol.js
govuk_publishing_components-17.17.0 node_modules/es6-symbol/is-symbol.js
govuk_publishing_components-17.16.0 node_modules/es6-symbol/is-symbol.js
govuk_publishing_components-17.15.0 node_modules/es6-symbol/is-symbol.js
govuk_publishing_components-17.14.0 node_modules/es6-symbol/is-symbol.js
govuk_publishing_components-17.13.0 node_modules/es6-symbol/is-symbol.js
govuk_publishing_components-17.12.2 node_modules/es6-symbol/is-symbol.js
govuk_publishing_components-17.12.1 node_modules/es6-symbol/is-symbol.js
govuk_publishing_components-17.12.0 node_modules/es6-symbol/is-symbol.js
govuk_publishing_components-17.11.0 node_modules/es6-symbol/is-symbol.js
govuk_publishing_components-17.10.0 node_modules/es6-symbol/is-symbol.js
govuk_publishing_components-17.9.0 node_modules/es6-symbol/is-symbol.js
govuk_publishing_components-17.8.0 node_modules/es6-symbol/is-symbol.js
govuk_publishing_components-17.7.0 node_modules/es6-symbol/is-symbol.js
govuk_publishing_components-17.6.1 node_modules/es6-symbol/is-symbol.js