IsTrue

IsTrue

IsTrue A test that asserts the actual value is strictly `true`. Can accept a boolean value or a function returning boolean. Inherits from Assert.

Constructor

new IsTrue(testName, actual, thisArgopt)

Description:
  • Asserts that a value is strictly `true`.
Source:
Parameters:
Name Type Attributes Description
testName string The name of the test.
actual any | function The value or function to evaluate.
thisArg any <optional>
Optional context in which to invoke deferred evaluation.

Classes

IsTrue