UI for Zipcoin Blue

is-set.js 390B

1234567891011121314151617
  1. 'use strict';
  2. var SetPoly = require('../polyfill');
  3. module.exports = function (t, a) {
  4. a(t(undefined), false, "Undefined");
  5. a(t(null), false, "Null");
  6. a(t(true), false, "Primitive");
  7. a(t('raz'), false, "String");
  8. a(t({}), false, "Object");
  9. a(t([]), false, "Array");
  10. if (typeof Set !== 'undefined') {
  11. a(t(new Set()), true, "Native");
  12. }
  13. a(t(new SetPoly()), true, "Polyfill");
  14. };