Asserts that the value is an array.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is a boolean.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is empty.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is an error or matches the provided error constructor.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is extensible.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is false.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is a finite number (not NaN, not Infinity, not -Infinity).
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is frozen.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is a function.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is an instance of the specified constructor.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is an instance of the specified constructor.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is iterable.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is NaN.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is null.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is a number.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is an object.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is truthy.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is a plain object.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is sealed.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Provides access to operations to confirm that the value strictly matches the type based on the used assertion operator.
Asserts that the value is a string.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is true.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is truthy.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value is undefined.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Asserts that the value's type matches the expected type string.
Uses the JavaScript typeof operator for type comparison.
Valid type strings include:
The expected type string (e.g., "string", "number", "function")
OptionalevalMsg: MsgSourceThe custom message to display on evaluation.
The current IAssertScope.that object.
An AssertionFailure if the assertion fails.
Represents an interface for operations to assert the type of a value.