Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Fully qualified name: Std.Diagnostics.Fact
function Fact(actual : Bool, message : String) : Unit
Summary
Checks whether a given condition is true, failing with a message if it is not.
Description
This function checks whether a given condition is true. If the condition is false, the operation fails with the given message, terminating the program.
Input
actual
The condition to check.
message
The message to use in the failure if the condition is false.