massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / an-object.js
1 var global = require('../internals/global');
2 var isObject = require('../internals/is-object');
3
4 var String = global.String;
5 var TypeError = global.TypeError;
6
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');
11 };