• Asserts that a value is true.

    Parameters

    • value: any

      The value to check.

    • Optionalkey: string

    Returns asserts value is true

    Asserts that the value is true.

    If the value is not true.