verify

Verifies that certain condition is met.

void
verify
(
bool ok
,
lazy istring msg = ""
,
istring file = __FILE__
,
int line = __LINE__
)

Parameters

ok bool

boolean condition to check

msg istring

optional exception message

Throws

SanityException if ok condition is false.

Meta