assert x
assert x raises an error if x isn't true.
|
|
|
If x is an Expression that evaluates to false, then a partially evaluated form is printed with the error message to assist in debugging.
|
The object assert is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Macaulay2Doc/ov_debugging.m2:471:0.