Qurak

Confirm

Khả dụng

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

Chủ đề

Liên quan

Tất cả 6300 hàm · Dùng cái này từ một client MCP