Sha256: da1c9b5fb6d79ac5b2d7e5925a4c9889314cc46e3664debdf9cf328099594d6b

Contents?: true

Size: 263 Bytes

Versions: 51

Compression:

Stored size: 263 Bytes

Contents

// Exports true if environment provides native `Map` implementation,
// whatever that is.

'use strict';

module.exports = (function () {
	if (typeof Map === 'undefined') return false;
	return (Object.prototype.toString.call(new Map()) === '[object Map]');
}());

Version data entries

51 entries across 51 versions & 6 rubygems

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