🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

is-document.all

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-document.all

Is this value `document.all`, i.e. an object with the [[IsHTMLDDA]] internal slot?

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
17M
28.14%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

document.all

FAQs

Package last updated on 11 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts