source:
node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
| Last change on this file was a762898, checked in by , 5 months ago | |
|---|---|
|
|
| File size: 182 bytes | |
| Rev | Line | |
|---|---|---|
| [a762898] | 1 | function getSymbols(object) { |
| 2 | return Object.getOwnPropertySymbols(object).filter(symbol => Object.prototype.propertyIsEnumerable.call(object, symbol)); | |
| 3 | } | |
| 4 | ||
| 5 | export { getSymbols }; |
Note:
See TracBrowser
for help on using the repository browser.
