Skip to main content

evaluate

Method
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>) -> bool

Parameters

context
&HashMap<String
required
No description available.
serde_json
:Value>
required
No description available.

Returns

Returns
bool
The result of the operation.