get-own-enumerable-property-symbols
Returns an array of all enumerable symbol properties found directly upon a given object
Last updated 6 years ago by mightyiam .
ISC · Repository · Bugs · Original npm
$ cnpm install get-own-enumerable-property-symbols 
SYNC missed versions from official npm registry.

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}))
// []

Current Tags

  • 3.0.2                                ...           latest (6 years ago)

1 Versions

  • 3.0.2                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org