Skip to main content

evaluate_choice

Function evaluate_choice 

Source
pub fn evaluate_choice(state_def: &Value, input: &Value) -> Option<String>
Expand description

Evaluate a Choice state’s rules against the input and return the Next state name. Returns None if no rule matches and there’s no Default.