reports/frontend/node_modules/is-document.all/README.md
jtricerolph 1c411e402e Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-20 14:37:36 +00:00

1.4 KiB

is-document.all Version Badge

github actions coverage License Downloads

npm badge

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