UI for Zipcoin Blue

12345678910111213
  1. 'use strict';
  2. var toString = Object.prototype.toString
  3. , toStringTagSymbol = require('es6-symbol').toStringTag
  4. , id = '[object Set]'
  5. , Global = (typeof Set === 'undefined') ? null : Set;
  6. module.exports = function (x) {
  7. return (x && ((Global && ((x instanceof Global) || (x === Global.prototype))) ||
  8. (toString.call(x) === id) || (x[toStringTagSymbol] === 'Set'))) || false;
  9. };