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