IsNull

IsNull

IsNull A test that asserts the actual value is strictly `null`. Inherits from Assert. Example: ```js isNull("Should be null", myValue); ```

Constructor

new IsNull(testName, actual, thisArgopt)

Description:
  • Constructs a null-check assertion.
Source:
Parameters:
Name Type Attributes Description
testName string Descriptive name of the test.
actual any | function Value to test or function that returns it.
thisArg any <optional>
Optional context for function calls.

Classes

IsNull