(obj: object)
| 22 | |
| 23 | // Slightly faster than Reflect.ownKeys in V8 as of 12.9.202.13-rusty (2024-10-28) |
| 24 | function ownKeys(obj: object) { |
| 25 | return [ |
| 26 | ...Object.getOwnPropertyNames(obj), |
| 27 | ...Object.getOwnPropertySymbols(obj), |
| 28 | ]; |
| 29 | } |
| 30 | |
| 31 | function getKeysDeep(obj: object) { |
| 32 | const keys = new Set<string | symbol>(); |
no outgoing calls
no test coverage detected