aboutsummaryrefslogtreecommitdiff
path: root/node_modules/es6-map/is-map.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/es6-map/is-map.js')
-rw-r--r--node_modules/es6-map/is-map.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/node_modules/es6-map/is-map.js b/node_modules/es6-map/is-map.js
deleted file mode 100644
index 1e1fa8233..000000000
--- a/node_modules/es6-map/is-map.js
+++ /dev/null
@@ -1,12 +0,0 @@
-'use strict';
-
-var toStringTagSymbol = require('es6-symbol').toStringTag
-
- , toString = Object.prototype.toString
- , id = '[object Map]'
- , Global = (typeof Map === 'undefined') ? null : Map;
-
-module.exports = function (x) {
- return (x && ((Global && ((x instanceof Global) || (x === Global.prototype))) ||
- (toString.call(x) === id) || (x[toStringTagSymbol] === 'Map'))) || false;
-};