Skip to main content

asks_first

Function asks_first 

pub fn asks_first(
    risk: RiskLevel,
    kind: ActionKind,
    change: ChangeKind,
    irreversible: bool,
) -> bool
Expand description

Whether a value with these facts is confirmed before it applies: its risk asks for confirmation and Undo cannot take it back (RiskLevel::requires_confirmation_when).