Sha256: 5e20680fb23a38c1805d02d0fe9d6056aaea13e145a722d1b44e0bf059aaf794

Contents?: true

Size: 170 Bytes

Versions: 39

Compression:

Stored size: 170 Bytes

Contents

'use strict';

var isWeakMap = require('./is-weak-map');

module.exports = function (x) {
	if (!isWeakMap(x)) throw new TypeError(x + " is not a WeakMap");
	return x;
};

Version data entries

39 entries across 32 versions & 8 rubygems

Version Path
govuk_publishing_components-16.29.0 node_modules/es6-weak-map/valid-weak-map.js
govuk_publishing_components-16.28.0 node_modules/es6-weak-map/valid-weak-map.js
govuk_publishing_components-16.27.1 node_modules/es6-weak-map/valid-weak-map.js
govuk_publishing_components-16.27.0 node_modules/es6-weak-map/valid-weak-map.js
govuk_publishing_components-16.26.0 node_modules/es6-weak-map/valid-weak-map.js
govuk_publishing_components-16.25.0 node_modules/es6-weak-map/valid-weak-map.js
govuk_publishing_components-16.24.0 node_modules/es6-weak-map/valid-weak-map.js
govuk_publishing_components-16.23.0 node_modules/es6-weak-map/valid-weak-map.js
govuk_publishing_components-16.22.0 node_modules/es6-weak-map/valid-weak-map.js
govuk_publishing_components-16.21.0 node_modules/es6-weak-map/valid-weak-map.js
govuk_publishing_components-16.20.1 node_modules/es6-weak-map/valid-weak-map.js
govuk_publishing_components-16.20.0 node_modules/es6-weak-map/valid-weak-map.js
govuk_publishing_components-16.19.0 node_modules/es6-weak-map/valid-weak-map.js
govuk_publishing_components-16.18.0 node_modules/es6-weak-map/valid-weak-map.js
govuk_publishing_components-16.17.0 node_modules/es6-weak-map/valid-weak-map.js
optimacms-0.4.3 spec/dummy/node_modules/es6-weak-map/valid-weak-map.js
optimacms-0.4.2 spec/dummy/node_modules/es6-weak-map/valid-weak-map.js
cortex-0.1.3 spec/dummy/node_modules/es6-weak-map/valid-weak-map.js
guard-sass-lint-0.1.2 node_modules/es6-weak-map/valid-weak-map.js
guard-sass-lint-0.1.1 node_modules/es6-weak-map/valid-weak-map.js