ultimatepos/Modules/Communication/node_modules/hasown
2026-07-10 08:54:10 +03:30
..
.github Sync production UltimatePOS from server 2026-07-10 08:54:10 +03:30
.nycrc Sync production UltimatePOS from server 2026-07-10 08:54:10 +03:30
CHANGELOG.md Sync production UltimatePOS from server 2026-07-10 08:54:10 +03:30
eslint.config.mjs Sync production UltimatePOS from server 2026-07-10 08:54:10 +03:30
index.d.ts Sync production UltimatePOS from server 2026-07-10 08:54:10 +03:30
index.js Sync production UltimatePOS from server 2026-07-10 08:54:10 +03:30
LICENSE Sync production UltimatePOS from server 2026-07-10 08:54:10 +03:30
package.json Sync production UltimatePOS from server 2026-07-10 08:54:10 +03:30
README.md Sync production UltimatePOS from server 2026-07-10 08:54:10 +03:30
tsconfig.json Sync production UltimatePOS from server 2026-07-10 08:54:10 +03:30

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