get-own-enumerable-property-symbols
TypeScript icon, indicating that this package has built-in type declarations

3.0.2 • Public • Published

get-own-enumerable-property-symbols Build Status

Returns an array of all enumerable symbol properties found directly upon a given object.

Similar to Object.getOwnPropertySymbols but only enumerable keys.

import getOwnEnumPropSymbols from 'get-own-enumerable-property-symbols'
 
getOwnEnumPropSymbols({ [Symbol()]: undefined })
// [Symbol()]
getOwnEnumPropSymbols(Object.defineProperty({}, Symbol(), {enumerable: false}))
// []

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.0.2
    6,840,597
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 3.0.2
    6,840,597
  • 3.0.1
    31,497
  • 3.0.0
    123,522
  • 2.0.1
    38,219
  • 2.0.0
    9
  • 1.0.1
    2,137
  • 1.0.0
    1

Package Sidebar

Install

npm i get-own-enumerable-property-symbols

Weekly Downloads

7,035,982

Version

3.0.2

License

ISC

Unpacked Size

4.7 kB

Total Files

7

Last publish

Collaborators

  • mightyiam