UNPKG

es-toolkit

Version:

A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

13 lines (10 loc) 269 B
import { getSymbols } from './getSymbols.mjs'; function getSymbolsIn(object) { const result = []; while (object) { result.push(...getSymbols(object)); object = Object.getPrototypeOf(object); } return result; } export { getSymbolsIn };