Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 313 Bytes

readme.md

File metadata and controls

22 lines (14 loc) · 313 Bytes

is-nodelist

is a NodeList object?

Because obj instanceof NodeList isn't reliable.

Install

$ npm install --save is-nodelist

Usage

var isNodelist = require('is-nodelist');

isNodelist(document.querySelectorAll('h1')); // true;

License

MIT © hemanth.hm