Fact¶
This is an assertion that is always enabled. If the test is false, it will print any supplied error message to stderr and raise an error.
primitive val Fact
Constructors¶
create¶
new val create()
: Fact val^
Returns¶
- Fact val^
Public Functions¶
apply¶
fun box apply(
test: Bool val,
msg: String val = "")
: None val ?
Parameters¶
Returns¶
- None val ?
eq¶
fun box eq(
that: Fact val)
: Bool val
Parameters¶
- that: Fact val
Returns¶
- Bool val
ne¶
fun box ne(
that: Fact val)
: Bool val
Parameters¶
- that: Fact val
Returns¶
- Bool val