This function produces a runtime error if the supplied condition or object is false or nil.
Parameter | Description |
---|---|
condition | if false a runtime error is generated |
o | if nil a runtime error is generated |
message | error message to display |
Assert(false, "An error occurred.")