Elementals.js

Latest Version: 3.6.4 PRODUCTION 13 April 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