Skip to main content

evaluate_field_condition

Function evaluate_field_condition 

Source
pub fn evaluate_field_condition(cond: &FieldCondition, args: &Value) -> bool
Expand description

Evaluate a single field condition against a JSON value.

If the field path does not resolve to any value, the condition evaluates to false regardless of operator polarity.