이 콘텐츠는 선택한 언어로 제공되지 않습니다.
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{}.