powered by
Use cnd_type() to check what type a condition is.
cnd_type()
cnd_type(cnd)
A string, either "condition", "message", "warning", "error" or "interrupt".
"condition"
"message"
"warning"
"error"
"interrupt"
A condition object.
cnd_type(catch_cnd(abort("Abort!"))) cnd_type(catch_cnd(interrupt()))
Run the code above in your browser using DataLab