Neurophysiologically Pseudoscientific Manatee

    is-dom-node-list

    1.2.1 • Public • Published

    is-dom-node-list

    Build status Coverage Version 0.3KB min+gzip MIT License

    Installation

    Browser

    A simple and fast way to get started is to include this script on your page:

    <script src="https://unpkg.com/is-dom-node-list"></script>

    This will create the global variable isDomNodeList.

    Module

    npm install is-dom-node-list

    CommonJS

    const isDomNodeList = require('is-dom-node-list')

    ES2015

    import isDomNodeList from 'is-dom-node-list'

    Usage

    const nodeList = document.querySelectorAll('.cookies')
    isDomNodeList(nodeList)
    // => true
     
    const nodeArray = Array.prototype.slice.call(nodeList)
    isDomNodeList(nodeArray)
    // => false

    Install

    npm i is-dom-node-list

    DownloadsWeekly Downloads

    7,983

    Version

    1.2.1

    License

    MIT

    Last publish

    Collaborators

    • jlmakes