flarum-msteams-webhook/js/node_modules-schrott/hasown
MauBiBot b9fe9bcb42 forum.js hatte gefehlt 2026-05-06 09:49:56 +02:00
..
.github forum.js hatte gefehlt 2026-05-06 09:49:56 +02:00
.nycrc forum.js hatte gefehlt 2026-05-06 09:49:56 +02:00
CHANGELOG.md forum.js hatte gefehlt 2026-05-06 09:49:56 +02:00
LICENSE forum.js hatte gefehlt 2026-05-06 09:49:56 +02:00
README.md forum.js hatte gefehlt 2026-05-06 09:49:56 +02:00
eslint.config.mjs forum.js hatte gefehlt 2026-05-06 09:49:56 +02:00
index.d.ts forum.js hatte gefehlt 2026-05-06 09:49:56 +02:00
index.js forum.js hatte gefehlt 2026-05-06 09:49:56 +02:00
package.json forum.js hatte gefehlt 2026-05-06 09:49:56 +02:00
tsconfig.json forum.js hatte gefehlt 2026-05-06 09:49:56 +02: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