get-own-enumerable-property-symbols
    TypeScript icon, indicating that this package has built-in type declarations

    3.0.2 • Public • Published

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

    Install

    npm i get-own-enumerable-property-symbols

    DownloadsWeekly Downloads

    7,082,449

    Version

    3.0.2

    License

    ISC

    Unpacked Size

    4.7 kB

    Total Files

    7

    Last publish

    Collaborators

    • mightyiam