D8D da8e66ac9e Initial commit 1 year ago
..
.github da8e66ac9e Initial commit 1 year ago
test da8e66ac9e Initial commit 1 year ago
.eslintrc da8e66ac9e Initial commit 1 year ago
CHANGELOG.md da8e66ac9e Initial commit 1 year ago
LICENSE da8e66ac9e Initial commit 1 year ago
README.md da8e66ac9e Initial commit 1 year ago
index.d.ts da8e66ac9e Initial commit 1 year ago
index.js da8e66ac9e Initial commit 1 year ago
package.json da8e66ac9e Initial commit 1 year ago
tsconfig.json da8e66ac9e Initial commit 1 year ago

README.md

has-proto Version Badge

github actions coverage License Downloads

npm badge

Does this environment have the ability to set the [[Prototype]] of an object on creation with __proto__?

Example

var hasProto = require('has-proto');
var assert = require('assert');

assert.equal(typeof hasProto(), 'boolean');

Tests

Simply clone the repo, npm install, and run npm test