Elementals.js

Latest Version: 3.7 Final 20 December 2018

Method _.throw.nonElement

Summary:

Throws a new TypeError if the passed variable is not a DOM Element -- aka Element.nodeType == 1.

Calling Convention:
_.throw.nonElement(Element)
Parameters:
Element
The Element to test.
Returns:
nothing

Advertisement