adi-o3-multipass/frontend/node_modules/hasown
2025-09-16 07:53:27 -05:00
..
.github added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00
.eslintrc added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00
.nycrc added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00
CHANGELOG.md added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00
index.d.ts added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00
index.js added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00
LICENSE added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00
package.json added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00
README.md added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05:00
tsconfig.json added front end - can process one at a time currently - need to fix multi-upload and processing 2025-09-16 07:53:27 -05: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