Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate(
    field: &StepField,
    value: Option<&Value>,
) -> Result<Evaluated, String>
Expand description

Read value (absent: nothing entered) against field. An Err is a value the field cannot hold (text for a tick, an option the choice does not offer, something that is no number): a server refuses it.