@actualwave/has-own
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

hasOwn

Failsafe function that uses Object.prototype.hasOwnProperty() and return false in case if target is not a valid object.

Note: It uses arrow functions that may not be supported by some old environments.

You better use lodash/has.

/@actualwave/has-own/

    Package Sidebar

    Install

    npm i @actualwave/has-own

    Weekly Downloads

    341

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    1.41 kB

    Total Files

    5

    Last publish

    Collaborators

    • actualwave