Assertion: True
Asserts that a given expression evaluates to true
Example
this.assert.true(expression);
Conditions
Passes if expression
evaluates to true
Fails if expression
does not evaluate to true
Parameters
Name | Description |
---|---|
expression |
the value to check |
message |
(optional) message to display on failure |