LarpixClient/electron/node_modules/hasown
olcxja fb6c8b6ee9
All checks were successful
Android Build / publish (push) Successful in 55s
Linux Build / publish (push) Successful in 1m6s
update electron to v43
2026-07-09 22:38:33 +02:00
..
.github Update gitignore (sorry) 2026-05-10 14:02:17 +02:00
.nycrc Update gitignore (sorry) 2026-05-10 14:02:17 +02:00
CHANGELOG.md update electron to v43 2026-07-09 22:38:33 +02:00
eslint.config.mjs Update gitignore (sorry) 2026-05-10 14:02:17 +02:00
index.d.ts update electron to v43 2026-07-09 22:38:33 +02:00
index.js Update gitignore (sorry) 2026-05-10 14:02:17 +02:00
LICENSE Update gitignore (sorry) 2026-05-10 14:02:17 +02:00
package.json update electron to v43 2026-07-09 22:38:33 +02:00
README.md Update gitignore (sorry) 2026-05-10 14:02:17 +02:00
tsconfig.json Update gitignore (sorry) 2026-05-10 14:02:17 +02: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