Elementals.js

Latest Version: 3.7 Final 20 December 2018

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