evaluate • Rust AI Agent SDK
evaluate: Evaluate the condition against the given context. # Arguments * `context` – Dictionary containing variables for evaluation. May include workflow…
evaluate
Method
</div>
This is a method of the ConditionProtocol class in the conditions module.
Evaluate the condition against the given context. # Arguments * context – Dictionary containing variables for evaluation. May include workflow variables, previous outputs, etc. # Returns Boolean result of condition evaluation. Returns false on evaluation errors (fail-safe).
Signature
def evaluate(&self, context: &HashMap<String, serde_json::Value>) -> boolParameters
ParamField
&HashMap<StringNo description available.
ParamField
:Value>No description available.
Returns
ResponseField
boolThe result of the operation.