Front end of the Slack clone application.

valid-set.js 153B

123456789
  1. 'use strict';
  2. var isSet = require('./is-set');
  3. module.exports = function (x) {
  4. if (!isSet(x)) throw new TypeError(x + " is not a Set");
  5. return x;
  6. };