Elementals.js

Latest Version: 3.0 RC 1 17 July 2017

Method _.throw.nonType

Summary:

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

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

Advertisement