Qurak

Confirm

متاحة

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

المواضيع

ذات صلة

كل الدوال الـ6300 · استخدم هذا من عميل MCP