Skip to main content

answer

Function answer 

Source
pub fn answer(
    input: &str,
    call: &HookCall,
    context: &str,
    verdict: Option<&Rule>,
    judge: impl Fn(&str) -> Option<Rule>,
) -> Option<String>
Expand description

The hook’s answer when the call has a rewrite, else None and the usual answer stands.