IsNotNull

IsNotNull

IsNotNull A test that asserts the actual value is **not** `null`. Inherits from Assert. Example: ```js isNotNull("Should not be null", myValue); ```

Constructor

new IsNotNull(testName, actual, thisArgopt)

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

Classes

IsNotNull