Files
JiboSDK/node_modules/es6-weak-map/is-native-implemented.js

11 lines
286 B
JavaScript
Raw Normal View History

2026-03-22 03:21:45 +02:00
// Exports true if environment provides native `WeakMap` implementation,
// whatever that is.
'use strict';
module.exports = (function () {
if (typeof WeakMap === 'undefined') return false;
return (Object.prototype.toString.call(WeakMap.prototype) ===
'[object WeakMap]');
}());