decord/source/576_isSymbol.js

19 lines
385 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 576
// Function ID: 6960
// Name: isSymbol
2026-07-23 10:11:24 +00:00
// Dependencies: [577, 578]
2026-07-20 16:05:17 +00:00
// Module 576 (isSymbol)
export default function isSymbol(arg0) {
let tmp = "symbol" === typeof arg0;
if (!tmp) {
2026-07-23 10:11:24 +00:00
let tmp4 = require(577) /* isObjectLike */(arg0);
2026-07-20 16:05:17 +00:00
if (tmp4) {
2026-07-23 10:11:24 +00:00
tmp4 = "[object Symbol]" == require(578) /* getTag */(arg0);
2026-07-20 16:05:17 +00:00
}
tmp = tmp4;
}
return tmp;
};