source: trip-planner-front/node_modules/core-js/internals/is-symbol.js@ 8d391a1

Last change on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 341 bytes
Line 
1var getBuiltIn = require('../internals/get-built-in');
2var USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');
3
4module.exports = USE_SYMBOL_AS_UID ? function (it) {
5 return typeof it == 'symbol';
6} : function (it) {
7 var $Symbol = getBuiltIn('Symbol');
8 return typeof $Symbol == 'function' && Object(it) instanceof $Symbol;
9};
Note: See TracBrowser for help on using the repository browser.