lepu-test-platform-web/node_modules/es6-set/valid-set.js

9 lines
153 B
JavaScript
Raw Permalink Normal View History

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