curaflow/node_modules/hasown
Deep Koluguri dc6321e1e3 feat: integrate temporal ai agents to UI 2026-05-22 22:41:12 -04:00
..
.github feat: integrate temporal ai agents to UI 2026-05-22 22:41:12 -04:00
.nycrc feat: integrate temporal ai agents to UI 2026-05-22 22:41:12 -04:00
CHANGELOG.md feat: integrate temporal ai agents to UI 2026-05-22 22:41:12 -04:00
LICENSE feat: integrate temporal ai agents to UI 2026-05-22 22:41:12 -04:00
README.md feat: integrate temporal ai agents to UI 2026-05-22 22:41:12 -04:00
eslint.config.mjs feat: integrate temporal ai agents to UI 2026-05-22 22:41:12 -04:00
index.d.ts feat: integrate temporal ai agents to UI 2026-05-22 22:41:12 -04:00
index.js feat: integrate temporal ai agents to UI 2026-05-22 22:41:12 -04:00
package.json feat: integrate temporal ai agents to UI 2026-05-22 22:41:12 -04:00
tsconfig.json feat: integrate temporal ai agents to UI 2026-05-22 22:41:12 -04:00

README.md

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