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