Constructor
new asserts()
An assertion framework which is compiled out for deployment. NOTE: this is not the closure library version. This uses the same name so the closure compiler will be able to use the conditions to assist type checking.
- Source:
Members
ENABLE_ASSERTS :boolean
true to enable asserts, false otherwise.
Type:
- boolean
- Source:
Methods
assert(val, message)
Parameters:
Name | Type | Description |
---|---|---|
val |
* | |
message |
string |
- Source: