source: imaps-frontend/node_modules/core-js/internals/is-symbol.js@ 79a0317

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

F4 Finalna Verzija

  • Property mode set to 100644
File size: 507 bytes
Line 
1'use strict';
2var getBuiltIn = require('../internals/get-built-in');
3var isCallable = require('../internals/is-callable');
4var isPrototypeOf = require('../internals/object-is-prototype-of');
5var USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');
6
7var $Object = Object;
8
9module.exports = USE_SYMBOL_AS_UID ? function (it) {
10 return typeof it == 'symbol';
11} : function (it) {
12 var $Symbol = getBuiltIn('Symbol');
13 return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
14};
Note: See TracBrowser for help on using the repository browser.