Members
(static, constant) throwFunctionTypeError
- Source:
- Since:
- 0.1.0
Composed throwTypeError function. Throw error with string type message.
(static, constant) throwObjectTypeError
- Source:
- Since:
- 0.1.0
Composed throwTypeError function. Throw error with string type message.
(static, constant) throwStringTypeError
- Source:
- Since:
- 0.1.0
Composed throwTypeError function. Throw error with string type message.
Methods
(static) throwTypeError(expected, actual)
- Source:
- Since:
- 0.1.0
Throw new TypeError with invalid message.
Parameters:
Name | Type | Description |
---|---|---|
expected |
String | |
actual |
* |
Throws:
TypeError