is-native-implemented.js 265 B

123456789
  1. // Exports true if environment provides native `Set` implementation,
  2. // whatever that is.
  3. "use strict";
  4. module.exports = (function () {
  5. if (typeof Set === "undefined") return false;
  6. return Object.prototype.toString.call(Set.prototype) === "[object Set]";
  7. })();