jiangping
2025-04-22 55b98737d5c4240b8035914a15e6975a9a71b447
1
2
3
4
5
6
7
8
9
10
11
'use strict';
var isObject = require('../internals/is-object');
 
var $String = String;
var $TypeError = TypeError;
 
// `Assert: Type(argument) is Object`
module.exports = function (argument) {
  if (isObject(argument)) return argument;
  throw new $TypeError($String(argument) + ' is not an object');
};