wallet-core/node_modules/es6-set/valid-set.js

9 lines
153 B
JavaScript
Raw Normal View History

2017-08-14 05:01:11 +02:00
'use strict';
var isSet = require('./is-set');
module.exports = function (x) {
if (!isSet(x)) throw new TypeError(x + " is not a Set");
return x;
};