wallet-core/node_modules/get-own-enumerable-property-symbols
2017-08-14 05:02:09 +02:00
..
index.js node_modules 2017-08-14 05:02:09 +02:00
package.json node_modules 2017-08-14 05:02:09 +02:00
README.md node_modules 2017-08-14 05:02:09 +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.

const getOwnEnumPropSymbols = require('get-own-enumerable-property-symbols')

getOwnEnumPropSymbols({ [Symbol()]: undefined })
// [Symbol()]
getOwnEnumPropSymbols(Object.defineProperty({}, Symbol(), {enumerable: false}))
// []

JavaScript Style Guide