Sha256: 83a87d5bed52856d1be08f3b718e422386722d2216fea0bcbbe839fa086662f5

Contents?: true

Size: 390 Bytes

Versions: 53

Compression:

Stored size: 390 Bytes

Contents

'use strict';

var MapPoly = require('../polyfill');

module.exports = function (t, a) {
	a(t(undefined), false, "Undefined");
	a(t(null), false, "Null");
	a(t(true), false, "Primitive");
	a(t('raz'), false, "String");
	a(t({}), false, "Object");
	a(t([]), false, "Array");
	if (typeof Map !== 'undefined') {
		a(t(new Map()), true, "Native");
	}
	a(t(new MapPoly()), true, "Polyfill");
};

Version data entries

53 entries across 53 versions & 7 rubygems

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