@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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.33latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.33
0.0.20
0.0.1404

Package Sidebar

Install

npm i @actualwave/has-own

Weekly Downloads

407

Version

0.0.3

License

MIT

Unpacked Size

1.41 kB

Total Files

5

Last publish

Collaborators

  • actualwave