|
|
||
|---|---|---|
| .. | ||
| .github | ||
| test | ||
| .nycrc | ||
| CHANGELOG.md | ||
| eslint.config.mjs | ||
| index.d.ts | ||
| index.js | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
is-document.all 
Is this value document.all, i.e. an object with the IsHTMLDDA internal slot?
Example
var isDocumentAll = require('is-document.all');
var assert = require('assert');
assert(!isDocumentAll(undefined));
assert(!isDocumentAll(null));
assert(!isDocumentAll({}));
assert(!isDocumentAll(function () {}));
// in a browser:
assert(isDocumentAll(document.all));
Tests
Simply clone the repo, npm install, and run npm test
