animate/webGl/my-threejs-test/node_modules/hasown
Sam 907ebae4c0 larry babby and threejs for glsl 2024-06-24 21:24:00 +12:00
..
.github larry babby and threejs for glsl 2024-06-24 21:24:00 +12:00
.eslintrc larry babby and threejs for glsl 2024-06-24 21:24:00 +12:00
.nycrc larry babby and threejs for glsl 2024-06-24 21:24:00 +12:00
CHANGELOG.md larry babby and threejs for glsl 2024-06-24 21:24:00 +12:00
LICENSE larry babby and threejs for glsl 2024-06-24 21:24:00 +12:00
README.md larry babby and threejs for glsl 2024-06-24 21:24:00 +12:00
index.d.ts larry babby and threejs for glsl 2024-06-24 21:24:00 +12:00
index.js larry babby and threejs for glsl 2024-06-24 21:24:00 +12:00
package.json larry babby and threejs for glsl 2024-06-24 21:24:00 +12:00
tsconfig.json larry babby and threejs for glsl 2024-06-24 21:24:00 +12: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