Skip to main content

is_refusal

Function is_refusal 

Source
fn is_refusal(answer: &Value) -> bool
Expand description

Whether the window’s answer is a refusal ({ ok: false, error, ... }).