hexo/node_modules/core-js/modules/_an-object.js

6 lines
159 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
var isObject = require('./_is-object');
module.exports = function (it) {
if (!isObject(it)) throw TypeError(it + ' is not an object!');
return it;
};