lhl 6ff0e96ad3 8-4-1 1 год назад
..
lib 6ff0e96ad3 8-4-1 1 год назад
CHANGELOG.md 6ff0e96ad3 8-4-1 1 год назад
LICENSE 6ff0e96ad3 8-4-1 1 год назад
README.md 6ff0e96ad3 8-4-1 1 год назад
package.json 6ff0e96ad3 8-4-1 1 год назад

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