6 lines
154 B
JavaScript
6 lines
154 B
JavaScript
var isObject = require('./_is-object');
|
|
module.exports = function (it) {
|
|
if (!isObject(it)) throw TypeError(it + ' is not an object!');
|
|
return it;
|
|
};
|