Qurak

Confirm

Tilgjengelig

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

Emner

Relatert

Alle 6300 funksjoner · Bruk dette fra en MCP-klient