function::assert
Name
function::assert — evaluate assertion
Synopsis
assert(expression:,msg:)
Arguments
expression
- The expression to evaluate
msg
- The formatted message string
Description
This function checks the expression and aborts the current running probe if expression evaluates to zero. Uses
error
and may be caught by try{} catch{}.