jayfella c97084e992 Initial Commit 5 years ago
..
lib c97084e992 Initial Commit 5 years ago
CHANGELOG.md c97084e992 Initial Commit 5 years ago
LICENSE c97084e992 Initial Commit 5 years ago
README.md c97084e992 Initial Commit 5 years ago
package.json c97084e992 Initial Commit 5 years ago

README.md

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