Skip to main content

Confirm

Confirm[expr] confirms that expr is not considered a failure, otherwise throwing an error to the nearest surrounding Enclose. 

Confirm[expr,info] evaluates info and includes its value in the thrown error if expr is not confirmed.

Confirm[expr,info,tag] uses the specified tag for any thrown errors.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.