Elementals.js

Latest Version: 3.5 PRODUCTION 25 January 2018

Method _.throw.type

Summary:

Throws a new TypeError if the passed variable is the type specified. .

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