Skip to main content

resolve

Function resolve 

Source
pub fn resolve(
    entries: &[(String, Value)],
    form_data: &Value,
    current_path: &[String],
    row_keys: &[usize],
) -> Option<Value>
Expand description

Resolve a condition map against form data.

entries is the ordered (expr, value) list; the default key is matched by literal text (never by evaluation), so it never short-circuits an earlier real condition. Returns None only when no key matches and there is no true key.