dojox.uuid.assert
dojo.require("dojox.uuid._base");
defined in dojox/uuid/_base.js
If the asserted condition is true, this method does nothing. If the condition is false, we throw an error with a error message.
parameter | type | description |
---|---|---|
booleanValue | Boolean | Must be true for the assertion to succeed. |
message | String | Optional. A string describing the assertion. throws: Throws an Error if 'booleanValue' is false. |