install npm

This commit is contained in:
2019-01-29 19:33:51 +01:00
parent b9a54b97a7
commit 5eedee288e
8785 changed files with 817030 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
'use strict';
var toStringTagSymbol = require('es6-symbol').toStringTag
, toString = Object.prototype.toString
, id = '[object WeakMap]'
, Global = (typeof WeakMap === 'undefined') ? null : WeakMap;
module.exports = function (x) {
return (x && ((Global && (x instanceof Global)) ||
(toString.call(x) === id) || (x[toStringTagSymbol] === 'WeakMap'))) ||
false;
};