aimpress-chatbot/node_modules/hasown
“SamoilenkoVadym” 55445dbc86
Some checks failed
Build and deploy Node.js app to Azure Web App - ChatBot2222 / build (push) Has been cancelled
Build and deploy Node.js app to Azure Web App - ChatBot2222 / deploy (push) Has been cancelled
Deploy bot to Azure
2025-04-27 19:55:19 +01:00
..
.github Initial commit 2025-04-27 17:05:18 +01:00
.eslintrc Deploy bot to Azure 2025-04-27 19:55:19 +01:00
.nycrc Deploy bot to Azure 2025-04-27 19:55:19 +01:00
CHANGELOG.md Deploy bot to Azure 2025-04-27 19:55:19 +01:00
index.d.ts Deploy bot to Azure 2025-04-27 19:55:19 +01:00
index.js Deploy bot to Azure 2025-04-27 19:55:19 +01:00
LICENSE Deploy bot to Azure 2025-04-27 19:55:19 +01:00
package.json Deploy bot to Azure 2025-04-27 19:55:19 +01:00
README.md Deploy bot to Azure 2025-04-27 19:55:19 +01:00
tsconfig.json Deploy bot to Azure 2025-04-27 19:55:19 +01: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