Asserts that a condition is true, throwing an error if it is not.
The condition to assert.
Optional
The error message to throw if the condition is false.
If the condition is false.
Asserts that a condition is true, throwing an error if it is not.