ryanemax c30f18a9e0 feat: face feat68 model пре 4 месеци
..
.github c30f18a9e0 feat: face feat68 model пре 4 месеци
.eslintrc c30f18a9e0 feat: face feat68 model пре 4 месеци
.nycrc c30f18a9e0 feat: face feat68 model пре 4 месеци
CHANGELOG.md c30f18a9e0 feat: face feat68 model пре 4 месеци
LICENSE c30f18a9e0 feat: face feat68 model пре 4 месеци
README.md c30f18a9e0 feat: face feat68 model пре 4 месеци
index.d.ts c30f18a9e0 feat: face feat68 model пре 4 месеци
index.js c30f18a9e0 feat: face feat68 model пре 4 месеци
package.json c30f18a9e0 feat: face feat68 model пре 4 месеци
tsconfig.json c30f18a9e0 feat: face feat68 model пре 4 месеци

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