is-document.all
Is this value `document.all`, i.e. an object with the [[IsHTMLDDA]] internal slot?
Last updated 6 months ago by ljharb .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install is-document.all 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (6 months ago)

1 Versions

  • 1.0.0                                ...           6 months ago
Maintainers (1)
Downloads
Total 2
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (19)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE