fleet-docs/node_modules/get-own-enumerable-property...
divya-mohan0209 9de94a264c Initial commit 2022-09-22 09:54:31 +05:30
..
lib Initial commit 2022-09-22 09:54:31 +05:30
CHANGELOG.md Initial commit 2022-09-22 09:54:31 +05:30
LICENSE Initial commit 2022-09-22 09:54:31 +05:30
README.md Initial commit 2022-09-22 09:54:31 +05:30
package.json Initial commit 2022-09-22 09:54:31 +05:30

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