source: imaps-frontend/node_modules/core-js/internals/an-object.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 304 bytes
RevLine 
[79a0317]1'use strict';
2var isObject = require('../internals/is-object');
3
4var $String = String;
5var $TypeError = TypeError;
6
7// `Assert: Type(argument) is Object`
8module.exports = function (argument) {
9 if (isObject(argument)) return argument;
10 throw new $TypeError($String(argument) + ' is not an object');
11};
Note: See TracBrowser for help on using the repository browser.