Skip to main content

frame_answer

Function frame_answer 

Source
pub fn frame_answer(
    frame: &[Binding<'_>],
    question: &str,
) -> Result<String, String>
Expand description

Evaluate a yes/no question against a frame, returning an English Yes./No. (the debug REPL’s Is …?). Is X <pred>? de-inverts to the condition X is <pred>, evaluated through the tree-walker’s own If.