wallet-core/node_modules/core-js/modules/$.an-object.js

5 lines
150 B
JavaScript
Raw Normal View History

2017-05-03 15:35:00 +02:00
var isObject = require('./$.is-object');
module.exports = function(it){
if(!isObject(it))throw TypeError(it + ' is not an object!');
return it;
};