Qurak

Confirm

Available

Confirms that an expression is not a failure otherwise throwing to the enclosing Enclose

Confirm[expr]
Confirm[expr, info]
Confirm[expr, info, tag]
Enclose[f[x, Confirm[y], z]] → f[x, y, z]Enclose[Confirm[Missing[]]] → Failure[ConfirmationFailed, <|MessageTemplate -> `` encountered., MessageParameters -> {Missing[]}, ConfirmationType -> Confirm, Expression -> Missing[], Information -> Null|>]Enclose[Confirm[2, Echo["info was evaluated"]]] → 2

Topics

Related

All 6300 functions · Use this from an MCP client