source:
node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs@
a762898
| Last change on this file since a762898 was a762898, checked in by , 6 months ago | |
|---|---|
|
|
| File size: 116 bytes | |
| Line | |
|---|---|
| 1 | function isSymbol(value) { |
| 2 | return typeof value === 'symbol' || value instanceof Symbol; |
| 3 | } |
| 4 | |
| 5 | export { isSymbol }; |
Note:
See TracBrowser
for help on using the repository browser.
