mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
10 lines
341 B
JavaScript
10 lines
341 B
JavaScript
var getBuiltIn = require('../internals/get-built-in');
|
|
var USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');
|
|
|
|
module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
return typeof it == 'symbol';
|
|
} : function (it) {
|
|
var $Symbol = getBuiltIn('Symbol');
|
|
return typeof $Symbol == 'function' && Object(it) instanceof $Symbol;
|
|
};
|