access-manager/node_modules/hasown
2026-04-25 23:57:04 +00:00
..
.github feat: unified admin dashboard + service registry cleanup 2026-04-25 23:57:04 +00:00
.eslintrc feat: unified admin dashboard + service registry cleanup 2026-04-25 23:57:04 +00:00
.nycrc feat: unified admin dashboard + service registry cleanup 2026-04-25 23:57:04 +00:00
CHANGELOG.md feat: unified admin dashboard + service registry cleanup 2026-04-25 23:57:04 +00:00
index.d.ts feat: unified admin dashboard + service registry cleanup 2026-04-25 23:57:04 +00:00
index.js feat: unified admin dashboard + service registry cleanup 2026-04-25 23:57:04 +00:00
LICENSE feat: unified admin dashboard + service registry cleanup 2026-04-25 23:57:04 +00:00
package.json feat: unified admin dashboard + service registry cleanup 2026-04-25 23:57:04 +00:00
README.md feat: unified admin dashboard + service registry cleanup 2026-04-25 23:57:04 +00:00
tsconfig.json feat: unified admin dashboard + service registry cleanup 2026-04-25 23:57:04 +00:00

hasown Version Badge

github actions coverage License Downloads

npm badge

A robust, ES3 compatible, "has own property" predicate.

Example

const assert = require('assert');
const hasOwn = require('hasown');

assert.equal(hasOwn({}, 'toString'), false);
assert.equal(hasOwn([], 'length'), true);
assert.equal(hasOwn({ a: 42 }, 'a'), true);

Tests

Simply clone the repo, npm install, and run npm test