Lukas Goldschmidt c573c3aed2 Init mem0 python plugin with knowledge tools 1 månad sedan
..
.github c573c3aed2 Init mem0 python plugin with knowledge tools 1 månad sedan
.eslintrc c573c3aed2 Init mem0 python plugin with knowledge tools 1 månad sedan
.nycrc c573c3aed2 Init mem0 python plugin with knowledge tools 1 månad sedan
CHANGELOG.md c573c3aed2 Init mem0 python plugin with knowledge tools 1 månad sedan
LICENSE c573c3aed2 Init mem0 python plugin with knowledge tools 1 månad sedan
README.md c573c3aed2 Init mem0 python plugin with knowledge tools 1 månad sedan
index.d.ts c573c3aed2 Init mem0 python plugin with knowledge tools 1 månad sedan
index.js c573c3aed2 Init mem0 python plugin with knowledge tools 1 månad sedan
package.json c573c3aed2 Init mem0 python plugin with knowledge tools 1 månad sedan
tsconfig.json c573c3aed2 Init mem0 python plugin with knowledge tools 1 månad sedan

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