Elementals.js

Latest Version: 3.0 RC 1 17 July 2017

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