Assertion: Null

Asserts that a value is null

Example

this.assert.null(expression);

Conditions

Passes if expression evaluates to null

Fails if expression does not evaluate to null

Parameters

Name Description
expression the value to check
message (optional) message to display on failure