1 var global = require('../internals/global');
2 var isObject = require('../internals/is-object');
4 var String = global.String;
5 var TypeError = global.TypeError;
7 // `Assert: Type(argument) is Object`
8 module.exports = function (argument) {
9 if (isObject(argument)) return argument;
10 throw TypeError(String(argument) + ' is not an object');