wallet-core/node_modules/get-own-enumerable-property-symbols
2018-09-20 02:56:13 +02:00
..
package.json update packages 2018-09-20 02:56:13 +02:00
README.md update packages 2018-09-20 02:56:13 +02:00

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