GT2/Ejectable/node_modules/core-js/modules/$.an-object.js

5 lines
150 B
JavaScript

var isObject = require('./$.is-object');
module.exports = function(it){
if(!isObject(it))throw TypeError(it + ' is not an object!');
return it;
};