Elementals.js

Latest Version: 2.0 RC 3 14 March 2017

Method _.throwNonType

Summary:

Throws a new TypeError if the passed variable isn't the type specified. .

Calling Convention:
_.throwNonInstance(Object, type)
Parameters:
Element
The Object to test.
type
The type to check for, such as 'null', 'object', etc.
Returns:
nothing